Implement Severity Token
What does this MR do and why?
Implements the Severity Token for the Enhanced Filtering.
This MR does not:
- Add a logic for query parameters
- Add a logic for passing selected filters to the Vulnerability Report
I'll track these efforts in separate MRs.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Fork https://gitlab.com/gitlab-examples/security/security-reports/
- Create vulnerabilities by running a pipeline against the default branch
- Go the Secure > Vulnerability Report inside the project
- Make sure to enable the feature flag:
echo "Feature.enable(:vulnerability_report_advanced_filtering)" | rails c
- See the Filtered Search
Related to #433364 (closed)
Edited by Savas Vedova