Skip to content

Add vulnerability age to policy drawer

Martin Čavoj requested to merge 397086-fe-create-age-filtering-3 into master

What does this MR do and why?

This MR adds vulnerability age information to the policy drawer. It depends on Add age filter for scan result policies (!122638 - merged).

Screenshots or screen recordings

Examples:

Singular Plural No age filter
CleanShot_2023-06-05_at_17.09.08_2x CleanShot_2023-06-05_at_17.10.03_2x CleanShot_2023-06-05_at_17.12.22_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 Status, select Previously existing and any/all statuses
  5. Add Age, select any values
  6. Configure with a merge request & Merge
  7. Go to the list of policies and click on the new policy
  8. Verify the age 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 #397086 (closed)

Edited by Martin Čavoj

Merge request reports

Loading