Add age filter for scan result policies
What does this MR do and why?
This MR adds a new age filter for scan result policies. Depends on BE: Support new Age filtering options (#399116 - closed).
Screenshots or screen recordings
How to set up and validate locally
- Ensure the GitLab Ultimate license is enabled
- Navigate to a project/group => Security & Compliance => Policies => New policy => Scan result policy
- Verify the filter is hidden
- Choose
License Scan
- Verify the filter is hidden
- Choose
Security Scan
- Verify the filter can be changed and the yaml is updated appropriately
- Navigate to yaml mode, make changes to values to a value that does exist, navigate to rule mode and ensure the description has been updated
- Create the policy, edit it, verify the description is assigned the appropriate values
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #397086 (closed)
Edited by Martin Čavoj