BlueGit

blue-star danique-bot

Configure SAST in `.gitlab-ci.yml`, creating this file if it does not already exist

timfa Tim Falken · pushed by timfa

Authored 2021-11-30 · 4 years ago

Hash
637b37d737a7fd180ab120b2dd17ab3d9c9e0536
Parent
7a7ec99e
1 file changed +12 −0
.gitlab-ci.yml added +12 −0
@@ -0,0 +1,12 @@
1 # You can override the included template(s) by including variable overrides
2 # SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
3 # Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
4 # Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
5 # Note that environment variables can be set in several places
6 # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
7 stages:
8 - test
9 sast:
10 stage: test
11 include:
12 - template: Security/SAST.gitlab-ci.yml
@@ -0,0 +1,12 @@
1# You can override the included template(s) by including variable overrides
2# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
3# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
4# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
5# Note that environment variables can be set in several places
6# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
7stages:
8- test
9sast:
10 stage: test
11include:
12- template: Security/SAST.gitlab-ci.yml