Skip to content

Restructure and extend scan result policy drawer

Martin Čavoj requested to merge 396985-fe-create-status-filtering-3 into master

What does this MR do and why?

This MR extends !119475 (merged) and updates the policy drawer and adds an information about the vulnerability states in the summary.

Screenshots or screen recordings

Policy drawer

Status selection Policy drawer
CleanShot_2023-05-05_at_10.44.54_2x CleanShot_2023-05-10_at_15.46.46_2x
CleanShot_2023-05-05_at_10.47.44_2x CleanShot_2023-05-10_at_15.47.28_2x
CleanShot_2023-05-05_at_10.48.23_2x CleanShot_2023-05-10_at_15.48.21_2x
CleanShot_2023-05-09_at_11.18.32_2x CleanShot_2023-05-10_at_15.48.44_2x
CleanShot_2023-05-10_at_15.49.37_2x CleanShot_2023-05-10_at_15.49.56_2x
CleanShot_2023-05-10_at_15.50.40_2x CleanShot_2023-05-10_at_15.50.20_2x

Policy details under merge request settings

CleanShot_2023-05-10_at_15.51.28_2x

How to set up and validate locally

  1. Ensure the GitLab Ultimate license is enabled
  2. Navigate to a project/group => Security & Compliance => Policies => New policy => Scan result policy
  3. Create a new policy, selecting a combination of new and previously existing statuses
  4. Click on the new policy in the policies list
  5. Depending on the selected statuses, ensure the summary is showing the corresponding sentence

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 #396985 (closed)

Edited by Martin Čavoj

Merge request reports

Loading