Add yaml conversion to vulnerability management policy editor
What does this MR do and why?
Related #465821 (closed)
Add yaml conversion to vulnerability management policy editor
This adds basic conversion between yaml and policy object to the editor component for the vulnerability management policy type. It also parses basic errors and starts with a simple default yaml configuration.
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
vulnerability-management-policy-yaml
How to set up and validate locally
- enable feature flag
vulnerability_management_policy_type
- go to a project
- go to Secure > Policies
- click New policy
- click Select policy on the Vulnerability management policy card
- validate it shows a yaml preview with
type: vulnerability_management_policy
,name: ''
,description: ''
, andenabled: true
included.
Edited by Lorenz van Herwaarden