Skip to content

Remove exclude license packages feature flag

What does this MR do and why?

Remove exclude license packages feature flag

Clean out feature flag for license scan rule

This merge request removes the feature flag excludeLicensePackages and makes its functionality permanent. The feature allows users to specify allowed and denied license packages in security policies. The code changes include:

  1. Removing the feature flag references from controllers, components, and configuration files
  2. Updating the license scan rule builder to always show the deny/allow list filter without requiring the feature flag
  3. Removing conditional logic that previously checked if the feature flag was enabled
  4. Updating tests to reflect that the functionality is now always available
  5. Removing tooltip text that was only relevant when the feature was disabled

The change simplifies the codebase by making this license package filtering capability a standard feature rather than an optional one that needed to be enabled via a feature flag.

References

Screenshots or screen recordings

Description UI

Allow/Deny list is now included by default

in license scan rule

Screenshot 2025-04-02 at 18.25.44.png

How to set up and validate locally

  1. Go to Group/Project
  2. Secure -> Policies
  3. New merge request approval policy
  4. Select license scan rule
  5. Check allow/deny list

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #499144 (closed)

Merge request reports

Loading