Skip to content

[Compliance Pipelines][FE] Policy Editor uses params to pre-fill form

Illya Klymov requested to merge xanf-populate-form into master

What does this MR do and why?

This MR implements prepopulating relevant fields in policy editor during compliance framework pipeline configuration migration and ensures we set proper MR title & description when such migration is performed

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

output

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 a framework which uses pipeline configuration path
  4. Save framework, enter editing of this framework
  5. Click 'Migrate pipeline to a policy'
  6. Observe prefilled form
  7. Create merge request
  8. Observer merge request title and description

Related to #474383 (closed)

Edited by Sam Figueroa

Merge request reports

Loading