Create policy source filter
What does this MR do and why?
Create policy source filter
- create new policy source filter in new policies/filter directory
- move policy type filter into policies/filter directory
- disable scan result policies query from running when inheritied source is selected because scan result policies are not inherited
- move constants into new file to show they are not used outside the directory
Changelog: added
EE: true
Screenshots or screen recordings
Project-level | Group-level |
---|---|
group_source_filter_demo |
How to set up and validate locally
- Upload an GitLab Ultimate license
- Navigate to a project => Security & Compliance => Policies
- Test out the filters
- Navigate to a group/sub-group => Security & Compliance => Policies
-
- Test out the filters
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 #345323 (closed)
Edited by Alexander Turinske