Skip to content

Add license scan result polocies to group and sub-group level

- requested to merge 386196-add-license-scan-group-subgroup into master

What does this MR do and why?

Add license scan result policy to group and sub-group. #386196 (closed)

Note: The feature is already implemented at the project level, we needed to add the feature flag logic at the group/sub-group level.

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-12-04_at_11.19.49_PM

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  • In a rails console enable Feature.enable(:license_scanning_policies)

Group Level

  • As a EE user Navigate to http://gdk.test:3000/<group>/-/security/policies
  • Click New Policy button
  • On the Scan Result Policy card click Select policy
  • Add a security scan rule

Sub-Group Level

  • As a EE user Navigate to http://gdk.test:3000/<group>/<sub-group>/-/security/policies
  • Click New Policy button
  • On the Scan Result Policy card click Select policy
  • Add a security scan 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 #386196 (closed)

Edited by -

Merge request reports