summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuben Di Battista2022-01-10 22:13:50 +0000
committerRuben Di Battista2022-01-11 00:17:03 +0100
commit4ea63e58c8f3cfad30f11b5b53aaaade0d28d7aa (patch)
tree4bdd5e7c760de13817619316fff26ba6d85c4411
parent7e83efa11b0e6a6bdfbbf93611efe4574369611f (diff)
downloadaur-4ea63e58c8f3cfad30f11b5b53aaaade0d28d7aa.tar.gz
Configure SAST in `.gitlab-ci.yml`, creating this file if it does not already exist
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..776bc6145d92
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+# You can override the included template(s) by including variable overrides
+# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
+# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
+# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
+# Note that environment variables can be set in several places
+# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
+stages:
+- test
+sast:
+ stage: test
+include:
+- template: Security/SAST.gitlab-ci.yml