Add vulnerability management policy to selector
What does this MR do and why?
Related #465728 (closed)
Epic &5708
This adds the Vulnerability management policy type to the policy selector. It's guarded behind a newly introduced feature flag vulnerability_management_policy_type
on the project level and vulnerability_management_policy_type_group
on the group level.
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
- Enable feature flags, go to http://gdk.test:3000/rails/features and enable
vulnerability_management_policy_type
andvulnerability_management_policy_type_group
- In any project or group, go to Secure > Policies
- Select New policy
- Validate that there is a new tile for vulnerability management policy
- Validate that if select Select policy, the query parameter
type=vulnerability_management_policy
is added.
Edited by Lorenz van Herwaarden