|
@@ -1,4 +1,4 @@
|
|
|
-# This is NOT the default gitleaks config. The default gitleaks config is located
|
|
|
|
|
|
|
+# This is NOT the default gitleaks config. The default gitleaks config is located
|
|
|
# here: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
|
|
# here: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
|
|
|
# This gitleaks config extends the default config and ignores secrets located in the `cmd/generate/config/rules`
|
|
# This gitleaks config extends the default config and ignores secrets located in the `cmd/generate/config/rules`
|
|
|
|
|
|
|
@@ -9,4 +9,6 @@ useDefault = true
|
|
|
[allowlist]
|
|
[allowlist]
|
|
|
paths = [
|
|
paths = [
|
|
|
'''(^|/)cmd/generate/config/rules''',
|
|
'''(^|/)cmd/generate/config/rules''',
|
|
|
|
|
+ '''.*test\.go''',
|
|
|
|
|
+ '''testdata'''
|
|
|
]
|
|
]
|