From d0946e656f9e367cc112d41daf07b43ad19e3490 Mon Sep 17 00:00:00 2001 From: Olivier Leduc Date: Fri, 6 Sep 2024 14:25:15 -0400 Subject: [PATCH] BST-12323: rename gitleaks validate secret env var The env var to enabled/disabled if gitleaks scanner should validate secrets has been renamed to match with the other gitleaks vars. --- scanners/boostsecurityio/gitleaks-full/module.yaml | 2 +- scanners/boostsecurityio/gitleaks/module.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scanners/boostsecurityio/gitleaks-full/module.yaml b/scanners/boostsecurityio/gitleaks-full/module.yaml index 6e9ef7b6..7964cc0f 100644 --- a/scanners/boostsecurityio/gitleaks-full/module.yaml +++ b/scanners/boostsecurityio/gitleaks-full/module.yaml @@ -70,4 +70,4 @@ steps: command: process --gitleaks-full image: public.ecr.aws/boostsecurityio/boost-scanner-keyscope:6524873@sha256:f9310e1e1856d75c217d828350f9be0bfbde0c374cbaad5d00a2438965611281 environment: - VALIDATE_SECRET: ${BOOST_VALIDATE_SECRET:-} + VALIDATE_SECRET: ${GITLEAKS_VALIDATE_SECRETS:-} diff --git a/scanners/boostsecurityio/gitleaks/module.yaml b/scanners/boostsecurityio/gitleaks/module.yaml index a2bad203..cb88949a 100644 --- a/scanners/boostsecurityio/gitleaks/module.yaml +++ b/scanners/boostsecurityio/gitleaks/module.yaml @@ -69,4 +69,4 @@ steps: command: process image: public.ecr.aws/boostsecurityio/boost-scanner-keyscope:6524873@sha256:f9310e1e1856d75c217d828350f9be0bfbde0c374cbaad5d00a2438965611281 environment: - VALIDATE_SECRET: ${BOOST_VALIDATE_SECRET:-} + VALIDATE_SECRET: ${GITLEAKS_VALIDATE_SECRETS:-}