Skip to content

Add new page for policy selection

Savas Vedova requested to merge 346162-create-new-policy-type-page into master

What does this MR do and why?

Adds a new page for selecting a policy. This page is only visible when the container_security_policy_selection feature flag is enabled.

Issues regarding the GlPath component are covered here: #346161 (comment 846175265)

Feature.enable(:container_security_policy_selection)

Screenshots or screen recordings

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

And here's how it currently looks like:

image

How to set up and validate locally

  1. Make sure to have an EE license
  2. Enable the feature flag in rails console: Feature.enable(:container_security_policy_selection)
  3. Visit /:namespace/:project/-/security/policies/new

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