mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
add just like that, no leaks
This commit is contained in:
1 parent
c7acf33d96
commit
958f55ac62
2 files changed
+5
-1
No files matched your search
+3
-1
@@ -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
|
||||
# This gitleaks config extends the default config and ignores secrets located in the `cmd/generate/config/rules`
|
||||
|
||||
@@ -9,4 +9,6 @@ useDefault = true
|
||||
[allowlist]
|
||||
paths = [
|
||||
'''(^|/)cmd/generate/config/rules''',
|
||||
'''.*test\.go''',
|
||||
'''testdata'''
|
||||
]
|
||||
Reference in new issue
Block a user