diff --git a/config/gitleaks.toml b/config/gitleaks.toml index e291a49f..df53b24a 100644 --- a/config/gitleaks.toml +++ b/config/gitleaks.toml @@ -126,14 +126,6 @@ id = "pypi-upload-token" description = "PyPI upload token" regex = '''pypi-AgEIcHlwaS5vcmc[A-Za-z0-9-_]{50,1000}''' -[[rules]] -id = "generic-api-key" -description = "Generic API Key" -regex = '''(?i)((key|api|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]''' -entropy = 3.7 -entropyGroup = 4 - -# ➜ ~/code/gitleaks (v8) git show ec2fc9d6cb0954fb3b57201cf6133c48d8ca0d29 -- checks_test.go [[rules]] id = "gcp-service-account" description = "Google (GCP) Service-account" @@ -441,6 +433,13 @@ regex = '''(?i)(twitch[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a- description = "Typeform API token" regex = '''(?i)(typeform[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}(tfp_[a-z0-9\-_\.=]{59})''' +# [[rules]] +# id = "generic-api-key" +# description = "Generic API Key" +# regex = '''(?i)((key|api|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]''' +# entropy = 3.7 +# entropyGroup = 4 + [allowlist] description = "global allow lists" diff --git a/testdata/repos/small/dotGit/index b/testdata/repos/small/dotGit/index index 2d570473..208f3d0e 100644 Binary files a/testdata/repos/small/dotGit/index and b/testdata/repos/small/dotGit/index differ