Add policy scope to a policy drawer
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
- Compliance frameworks
- Excluding projects
- 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 |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Enable Feature Flag
Feature.enable(:security_policies_policy_scope)
-
Go to a Group ->
Secure
->Policies
->New policy
-> New scanresult/execution
policy -> check Policy scope section is there. -
Create 3 different policies with policy scope different options (compliance frameworks, excluding, including projects)
-
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #432320 (closed)