Skip to content

Make policy migration context aware

What does this MR do and why?

Make policy migration context aware

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

Before After
CTA in banner just leads to documentation Banner contextually leads to pipeline policy editor, if there is a pipeline file set it will add it to the URL parameters, along with the current framework GID (Note: the policy editor does not use these data yet.)
image image image

How to set up and validate locally

  1. Enable feature flag ff_compliance_pipeline_maintenance_mode in rails console (rails c): Feature.enable :ff_compliance_pipeline_maintenance_mode
  2. Visit compliance center Docs
  3. Create/Edit a framework
  4. Click 'Create a policy', observe URL
  5. Go back
  6. Fill in pipeline config path
  7. Click 'Migrate to a policy', observe URL (Note: the policy editor does not use these data yet.)

Merge request reports

Loading