Skip to content

Add basic editor component for vulnerability management policy type

What does this MR do and why?

Related #465821 (closed)

Add basic setup for editor component for new Vulnerability management policy type.

This simply makes sure the EditorWrapper component has a dedicated EditorComponent for the vulnerability management policy type. The EditorComponent imports the EditorLayout with the minimum setup for the props to load.

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

editor

How to set up and validate locally

  1. feature flag a. For group level, enable feature flag vulnerability_management_policy_type_group b. For project level, enable feature flag vulnerability_management_policy_type
  2. go to a project or group
  3. go to Secure > Policies
  4. click New policy
  5. click Select policy on the Vulnerability management policy card
  6. verify it shows a very basic editor component layout
Edited by Lorenz van Herwaarden

Merge request reports