Add policy editor version 2
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.
Screenshots or screen recordings
Design: https://www.figma.com/file/actVYkcrS1tcHCc890DOdv/Policy-details?node-id=512%3A14040
Desc | Image |
---|---|
New Network Policy | |
New Scan Result Policy | |
New Scan Execution Policy | |
Edit Scan Result Policy |
How to set up and validate locally
Enable the feature flag:
Feature.enable(:container_security_policy_selection)
- Make sure to have an EE license
- Visit
/:namespace/:project/-/security/policies/new
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #346162 (closed)
Edited by Savas Vedova