From b376c50203cf932a083df8b1473b1cdf1ed6d90e Mon Sep 17 00:00:00 2001 From: jacobgill1 Date: Wed, 18 Oct 2023 16:57:42 +0100 Subject: [PATCH 1/3] Update gitleaks toml to ignore lock files --- scripts/config/gitleaks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config/gitleaks.toml b/scripts/config/gitleaks.toml index 92e59707..4845ad1a 100644 --- a/scripts/config/gitleaks.toml +++ b/scripts/config/gitleaks.toml @@ -16,4 +16,4 @@ regexes = [ ] [allowlist] -files = ['.terraform.lock.hcl', 'poetry.lock', 'yarn.lock'] +paths = ['''.terraform.lock.hcl''', '''./poetry.lock''', '''yarn.lock'''] \ No newline at end of file From 708ff0f68b7adf0525ec9747943eae2b6cb5d1f3 Mon Sep 17 00:00:00 2001 From: jacobgill1 Date: Wed, 18 Oct 2023 16:58:56 +0100 Subject: [PATCH 2/3] fix typo --- scripts/config/gitleaks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config/gitleaks.toml b/scripts/config/gitleaks.toml index 4845ad1a..7388a6b6 100644 --- a/scripts/config/gitleaks.toml +++ b/scripts/config/gitleaks.toml @@ -16,4 +16,4 @@ regexes = [ ] [allowlist] -paths = ['''.terraform.lock.hcl''', '''./poetry.lock''', '''yarn.lock'''] \ No newline at end of file +paths = ['''.terraform.lock.hcl''', '''poetry.lock''', '''yarn.lock'''] \ No newline at end of file From 6c4665a42bf32bf33e1d4ba3b68a68a716cd2685 Mon Sep 17 00:00:00 2001 From: jacobgill1 Date: Wed, 18 Oct 2023 16:59:44 +0100 Subject: [PATCH 3/3] fix file format --- scripts/config/gitleaks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config/gitleaks.toml b/scripts/config/gitleaks.toml index 7388a6b6..af5f0bb7 100644 --- a/scripts/config/gitleaks.toml +++ b/scripts/config/gitleaks.toml @@ -16,4 +16,4 @@ regexes = [ ] [allowlist] -paths = ['''.terraform.lock.hcl''', '''poetry.lock''', '''yarn.lock'''] \ No newline at end of file +paths = ['''.terraform.lock.hcl''', '''poetry.lock''', '''yarn.lock''']