Move OWASP 2021 group behind a feature flag
What does this MR do and why?
As discussed at &10164 (comment 1732113156), we have a very limited set of OWASP Top 10 2021 records at the moment. To avoid a confusing user experience, we are putting OWASP 2021 behind a feature flag for now.
Changelog: changed EE: true
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
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Fork https://gitlab.com/gitlab-examples/security/security-reports/
- Create a pipeline against the default branch to generate vulnerabilities
- Go to Secure > Vulnerability Report
- Check that OWASP 2021 is not displayed in the Group By button
- Now enable the feature flag:
echo "Feature.enable(:vulnerability_report_owasp_2021)" | rails c
- Check that OWASP 2021 is displayed tin the Group By button
Related to #438788 (closed)