Skip to content

Add policy scope to a policy drawer

Artur Fedorov requested to merge 432320-policies-scope-drawer-result into master

What does this MR do and why?

This MR adds policy scope to a drawer

Policy drawer with detailed policy information has new section with policy scope information

  1. Compliance frameworks
  2. Excluding projects
  3. Including projects

Design of a prototype

Screenshots or screen recordings

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

Description UI

Information for policy scope

in the drawer

frameworks.mov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable Feature Flag

    Feature.enable(:security_policies_policy_scope)  
  2. Go to a Group -> Secure -> Policies -> New policy -> New scan result/execution policy -> check Policy scope section is there.

  3. Create 3 different policies with policy scope different options (compliance frameworks, excluding, including projects)

  4. Go back to policy list and select newly created policies one by one, make sure policy scope section exist in the drawer

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

Edited by Artur Fedorov

Merge request reports

Loading