Add agent and namespace information to drawer

What does this MR do and why?

Describe in detail what your merge request does and why.

Add agent and namespace information to drawer

  • update scan execution policy drawer to display agent and namespace information
  • works with zero, one, or many namespaces
  • update test

Changelog: added

EE: true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Policy Summary
Screen_Shot_2022-10-23_at_10.30.01_PM Screen_Shot_2022-10-24_at_5.06.24_PM
Screen_Shot_2022-10-23_at_10.30.14_PM Screen_Shot_2022-10-24_at_5.06.08_PM
Screen_Shot_2022-10-24_at_5.00.35_PM Screen_Shot_2022-10-24_at_5.06.00_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Security & Compliance => Policies => New policy => Scan execution policy => create a policy and save it
  3. Navigate to a project => Security & Compliance => Policies => Verify policy summary

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #378233 (closed)

Edited by Alexander Turinske

Merge request reports

Loading