Adapt status filtering to support new values
What does this MR do and why?
This MR adds support for new status values introduced in !117394 (merged). It also splits the status filters into two dropdowns.
In order to achieve that, it also implements part of #397107 (closed), so that there can be two status filters added at the same time.
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
- Add/remove status filters
- Ensure the YAML preview gets updated
- Navigate to yaml mode, make changes to
vulnerability_states
, add values that do exist, navigate to rule mode and ensure the filter values have 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 #396985 (closed)
Edited by Martin Čavoj