Skip to content

Add vulnerability attributes to policy drawer

Martin Čavoj requested to merge 397088-fe-create-attribute-filtering-3 into master

What does this MR do and why?

This MR extends Add attributes filter to scan result policies (!123052 - merged) and adds vulnerability attributes to policy drawer. Requires BE: Support new Attribute filtering options (#399117 - closed).

Screenshots or screen recordings

[{false_positive: true}] [{fix_available: false}] [{fix_available: true, false_positive: false}]
CleanShot_2023-06-12_at_17.36.52_2x CleanShot_2023-06-12_at_17.37.20_2x CleanShot_2023-06-12_at_17.36.19_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. Choose Security Scan
  4. Add Attribute, select any values
  5. Configure with a merge request & Merge
  6. Go to the list of policies and click on the new policy
  7. Verify the attributes information in the drawer

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

Merge request reports

Loading