Allow vulnerability management policy in update policy mutation
What does this MR do and why?
Related #465998 (closed)
Add vulnerability management policy type to available policy types.
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
How to set up and validate locally
- Apply patch (from MR: !158255 (merged))
curl https://gitlab.com/gitlab-org/gitlab/-/merge_requests/158255.diff | git apply
- Go to a project > Secure > Policies
- Click New policy > Vulnerability management policy
- Fill in name, description and click Save
- Validate that it redirects to a MR
- note: without the changes in this MR, saving would result in an error "Invalid policy type"
Edited by Lorenz van Herwaarden