From 9a477cd852f5373d06a32e551497890672475526 Mon Sep 17 00:00:00 2001 From: SFG545 <27240364-SFG545@users.noreply.gitlab.com> Date: Mon, 16 Mar 2026 21:59:07 -0500 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..5c762a8 --- /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/user/application_security/sast/#available-cicd-variables +# Secret Detection customization: https://docs.gitlab.com/user/application_security/secret_detection/pipeline/configure/ +# Dependency Scanning customization: https://docs.gitlab.com/user/application_security/dependency_scanning/#customizing-analyzer-behavior +# Container Scanning customization: https://docs.gitlab.com/user/application_security/container_scanning/#customizing-analyzer-behavior +# Note that environment variables can be set in several places +# See https://docs.gitlab.com/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