Skip to content

Add policy editor version 2

Savas Vedova requested to merge 346162-policy-editor-v2 into master

What does this MR do and why?

Recently, we created a separate page for network policy selection, therefore the policy editor also needs to be updated. This MR updates the policy editor view to match the new design.

policy-editor

Screenshots or screen recordings

Design: https://www.figma.com/file/actVYkcrS1tcHCc890DOdv/Policy-details?node-id=512%3A14040

Desc Image
New Network Policy image
New Scan Result Policy image
New Scan Execution Policy image
Edit Scan Result Policy image

How to set up and validate locally

Enable the feature flag:

Feature.enable(:container_security_policy_selection)
  1. Make sure to have an EE license
  2. Visit /:namespace/:project/-/security/policies/new
  3. Select a policy

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #346162 (closed)

Edited by Savas Vedova

Merge request reports

Loading