From 6e11f263e2f2b3dd0e617e5ba7b475dc8dde0a33 Mon Sep 17 00:00:00 2001 From: Admiral Awkbar Date: Mon, 27 Sep 2021 12:54:24 -0500 Subject: [PATCH] fix gitleaks --- .automation/test/gitleaks/gitleaks_bad_01.txt | 3 ++- lib/linter.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.automation/test/gitleaks/gitleaks_bad_01.txt b/.automation/test/gitleaks/gitleaks_bad_01.txt index f75b79cd..89d35fb8 100644 --- a/.automation/test/gitleaks/gitleaks_bad_01.txt +++ b/.automation/test/gitleaks/gitleaks_bad_01.txt @@ -1 +1,2 @@ -AWS_SECRET_ACCESS_KEY = wJalrXUtnFEMI/K7MDENG/bPxRfiCYSECRETSKEY +aws_access_key_id = AKOA47DSWDEZA3RQASWB +aws_secret_access_key = wQwdsZDiWg4UA5ngO0OSI2TkM4kkYxF6d2S1aYWM diff --git a/lib/linter.sh b/lib/linter.sh index 87c05dcc..cfa74fea 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -834,7 +834,7 @@ LINTER_COMMANDS_ARRAY['DOCKERFILE_HADOLINT']="hadolint -c ${DOCKERFILE_HADOLINT_ LINTER_COMMANDS_ARRAY['EDITORCONFIG']="editorconfig-checker -config ${EDITORCONFIG_LINTER_RULES}" LINTER_COMMANDS_ARRAY['ENV']="dotenv-linter" LINTER_COMMANDS_ARRAY['GITHUB_ACTIONS']="actionlint -config-file ${GITHUB_ACTIONS_LINTER_RULES}" -LINTER_COMMANDS_ARRAY['GITLEAKS']="gitleaks -q -c ${GITLEAKS_LINTER_RULES} -p" +LINTER_COMMANDS_ARRAY['GITLEAKS']="gitleaks -q -c ${GITLEAKS_LINTER_RULES} --no-git -p" LINTER_COMMANDS_ARRAY['GHERKIN']="gherkin-lint -c ${GHERKIN_LINTER_RULES}" LINTER_COMMANDS_ARRAY['GO']="golangci-lint run -c ${GO_LINTER_RULES}" LINTER_COMMANDS_ARRAY['GROOVY']="npm-groovy-lint -c ${GROOVY_LINTER_RULES} --failon warning"