Have Security Policies Enabled by Default
What does this MR do and why?
This MR has security policies enabled by default when a new policy is created.
Screenshots or screen recordings
How to set up and validate locally
- Create a group where you are the group owner. This requires a GitLab Ultimate license.
- Create a project in the group "Development Project"
- Navigate to the project -> Security & Compliance -> Policies page
- Create a new Scan Result policy. Confirm that
Enabled
is selected by default. - Navigate back to the project -> Security & Compliance -> Policies page
- Create a new Scan Execution policy. Confirm that the policy yaml has
enabled: true
set by default.
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.
Edited by Alexander Turinske