Skip to content
Snippets Groups Projects
Verified Commit 63407e6e authored by Marcos Rocha's avatar Marcos Rocha
Browse files

Add Security Policy Default source

This MR adds a new config source to allow scan
execution policies to create pipelines to
enforce security scans even if the Auto DevOps
is disabled and no .gitlab-ci.yml is available.

Changelog: added
MR: !121087
parent a088093c
No related branches found
No related tags found
1 merge request!121087Allow scan execution policies to create pipelines
This commit is part of merge request !121087. Comments created here will be created in the context of that merge request.
...@@ -10,6 +10,7 @@ module ProjectConfig ...@@ -10,6 +10,7 @@ module ProjectConfig
override :sources override :sources
def sources def sources
# SecurityPolicyDefault should come last. It is only necessary if no other source is available.
[::Gitlab::Ci::ProjectConfig::Compliance].concat(super) [::Gitlab::Ci::ProjectConfig::Compliance].concat(super)
.concat([::Gitlab::Ci::ProjectConfig::SecurityPolicyDefault]) .concat([::Gitlab::Ci::ProjectConfig::SecurityPolicyDefault])
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment