Skip to content

Rework the feature flag logic

Savas Vedova requested to merge 432778-fix-feature-flag-logic into master

What does this MR do and why?

Rework the feature flag logic

Apply the groupLevelVulnerabilityReportGrouping feature flag logic to instance level vulnerability reports as well. It is redundant to maintain another feature flag for that level, therefore refactoring the code to reuse the same feature flag is a more favorable approach.

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

image

How to set up and validate locally

  1. Enable following feature flags:

echo 'Feature.enable(:group_level_vulnerability_report_grouping)' | rails c echo "Feature.enable(:vulnerability_report_advanced_filtering)" | rails c

  1. Visit /-/security/vulnerabilities

Related to #432778

Merge request reports