Skip to content

Part 1 - Introduce V2 policy rule builder

- requested to merge 371506-license-scanning-initial-ui-part-1 into master

What does this MR do and why?

This is Part 1 of 3 of breaking up the original MR !103744 (closed)

In this MR:

  • policy_rule_builder_v2.vue minimal file, includes initial selection dropdown only
  • V2 YML config entries and feature flag toggle logic for configs
  • Scan result policy editor feature flag toggle between the original and v2 of policy_rule_builder.vue
  • Updated translation file

Screenshots or screen recordings

Before & when flag off After with flag on
Screen_Shot_2022-11-19_at_5.06.05_PM Screen_Shot_2022-11-19_at_5.06.40_PM

How to set up and validate locally

  • In a rails console enable Feature.enable(:license_scanning_policies)
  • As a EE user Navigate to http://gdk.test:3000/<group>/<project>/-/security/policies
  • Click New Policy button
  • On the Scan Result Policy card click Select policy
  • Add a rule

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 #371506 (closed)

Edited by -

Merge request reports

Loading