Update policy drawer for csp policies
What does this MR do and why?
Update policy drawer for csp policies
- update source for csp policies
- update source for inherited csp policies
Changelog: changed
EE: true
References
Screenshots or screen recordings
Scenario | Screenshot |
---|---|
Project policy | ![]() |
Group policy | ![]() |
Instance policy | ![]() |
Instance policy in CSP group | ![]() |
How to set up and validate locally
- Upload a GitLab Ultimate license
- Go to http://gdk.test:3443/rails/features and enable the
security_policies_csp
feature flag - Navigate to Admin => Settings => Security and compliance
- Set the CSP group
- Navigate to CSP group => Secure => Policies => New policy => Scan execution => Create a new policy
- Navigate to CSP group => Secure => Policies => Select the new policy
- Verify the policy source says
instance policy
- Navigate to a different group/project => Secure => Policies => Select the inherited policy
- Verify the policy source says it is an
instance policy
that is inherited
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 #552270 (closed)
Edited by Alexander Turinske