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

This commit is contained in:
octt
2025-07-11 11:46:14 +02:00
parent 367a5af6ea
commit 61984de1af

View File

@ -7,7 +7,13 @@
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
- test
- secret-detection
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
- template: Security/Secret-Detection.gitlab-ci.yml
variables:
SECRET_DETECTION_ENABLED: 'true'
secret_detection:
stage: secret-detection