Skip to content

Have Security Policies Enabled by Default

Sam White requested to merge sam-change-default-enabled into master

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

Screen_Shot_2022-06-29_at_10.53.00

How to set up and validate locally

  1. Create a group where you are the group owner. This requires a GitLab Ultimate license.
  2. Create a project in the group "Development Project"
  3. Navigate to the project -> Security & Compliance -> Policies page
  4. Create a new Scan Result policy. Confirm that Enabled is selected by default.
  5. Navigate back to the project -> Security & Compliance -> Policies page
  6. 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.

Edited by Alexander Turinske

Merge request reports