mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
working on getting pinned config working
This commit is contained in:
1 parent
f57158a893
commit
a24f9a2c92
2 files changed
+45
-5
No files matched your search
+1
-4
@@ -21,9 +21,6 @@ regex = '''(?i)facebook.*['\"][0-9a-f]{32}['\"]'''
|
||||
description = "Twitter"
|
||||
regex = '''(?i)twitter.*['\"][0-9a-zA-Z]{35,44}['\"]'''
|
||||
[[regexes]]
|
||||
description = "Telegram"
|
||||
regex = '''(?i)telegram.*['\"][0-9]{1,12}+:[0-9a-zA-Z-]{32,44}['\"]'''
|
||||
[[regexes]]
|
||||
description = "PGP"
|
||||
regex = '''-----BEGIN PGP PRIVATE KEY BLOCK-----'''
|
||||
[[regexes]]
|
||||
@@ -38,5 +35,5 @@ regexes = [
|
||||
# "AKIA.*EXAMPLE",
|
||||
]
|
||||
files = [
|
||||
"(.*?)(jpg|gif|doc|pdf|bin|go)$"
|
||||
"(.*?)(jpg|gif|doc|pdf|bin)$"
|
||||
]
|
||||
Reference in new issue
Block a user