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:
- Removing the feature flag references from controllers, components, and configuration files
- Updating the license scan rule builder to always show the deny/allow list filter without requiring the feature flag
- Removing conditional logic that previously checked if the feature flag was enabled
- Updating tests to reflect that the functionality is now always available
- 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 |
How to set up and validate locally
- Go to Group/Project
- Secure -> Policies
- New merge request approval policy
- Select license scan rule
- 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)