From adb2934414decde70a989704f25a7bedc7c29af8 Mon Sep 17 00:00:00 2001 From: Samuel ONeal <1710446-sam_oneal@users.noreply.gitlab.com> Date: Fri, 9 Jan 2026 19:40:00 +0000 Subject: [PATCH] Configure Secret Detection in `.gitlab-ci.yml`, creating this file if it does not already exist --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a92e0f6..42f2423 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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