Skip to content

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

  1. Apply patch (from MR: !158255 (merged))
curl https://gitlab.com/gitlab-org/gitlab/-/merge_requests/158255.diff | git apply
  1. Go to a project > Secure > Policies
  2. Click New policy > Vulnerability management policy
  3. Fill in name, description and click Save
  4. Validate that it redirects to a MR
  5. note: without the changes in this MR, saving would result in an error "Invalid policy type"
Edited by Lorenz van Herwaarden

Merge request reports

Loading