Skip to content

Move OWASP 2021 group behind a feature flag

Savas Vedova requested to merge 438788-add-owasp-2021-behind-a-ff into master

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
image image

How to set up and validate locally

  1. Fork https://gitlab.com/gitlab-examples/security/security-reports/
  2. Create a pipeline against the default branch to generate vulnerabilities
  3. Go to Secure > Vulnerability Report
  4. Check that OWASP 2021 is not displayed in the Group By button
  5. Now enable the feature flag: echo "Feature.enable(:vulnerability_report_owasp_2021)" | rails c
  6. Check that OWASP 2021 is displayed tin the Group By button

Related to #438788 (closed)

Merge request reports