mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
Regex whitelist example in sample config
Users looking to the sample config to discover possible options may not notice that its possible to whitelist by regex. This commit adds an example to aid discovery. Related: conjurinc/ops#246
This commit is contained in:
1 parent
5bd59b0d8c
commit
63d8e6e21b
1 file changed
+3
@@ -180,6 +180,9 @@ tags = ["key", "twilio"]
|
||||
files = [
|
||||
"(.*?)(jpg|gif|doc|pdf|bin)$"
|
||||
]
|
||||
#regexes = [
|
||||
# "AKIAIOSFODNN7EXAMPLE"
|
||||
#]
|
||||
#commits = [
|
||||
# "whitelisted-commit1",
|
||||
# "whitelisted-commit2",
|
||||
|
||||
Reference in new issue
Block a user