Remove unscoped policies from projects
What does this MR do and why?
Remove unscoped policies from projects
- do not retrieve unscoped policies for projects
Changelog: fixed
EE: true
References
Screenshots or screen recordings
| Before | After |
|---|---|
|
|
How to set up and validate locally
- Go to a top level group.
- Create a subgroup
Alpha. - Create another subgroup under
AlphanamedBravo. - Create two dummy projects under
Bravogroup. Ideally you should have something like this.
Top level group
|- Alpha
|- Bravo
|- project_01
|- project_02
- Create a Scan Execution Policy under group
Alphaand limit the scope toproject_01. - Go to
project_02=> Secure => Policies - Verify the new policy does not exist in the list
- Go to
project_01=> Secure => Policies - Verify the new policy does exist in the list
- Verify for each project type
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #579772

