From 9efbd70053a65c6dfe9e5f574f7e26cd052d2da5 Mon Sep 17 00:00:00 2001 From: 12ww1160 Date: Fri, 12 Dec 2025 16:10:26 +0000 Subject: [PATCH] Configure Secret Detection in `.gitlab-ci.yml`, creating this file if it does not already exist --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b254c52 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +# 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/user/application_security/secret_detection/pipeline/configure +# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings +# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-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 +- secret-detection +variables: + SECRET_DETECTION_ENABLED: 'true' +secret_detection: + stage: secret-detection +include: +- template: Security/Secret-Detection.gitlab-ci.yml