mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
Merge pull request #87 from nenadstojanovikj/patch-1
Update description to reflect regex
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -18,7 +18,7 @@ regex = '''-----BEGIN OPENSSH PRIVATE KEY-----'''
|
|||||||
description = "Facebook"
|
description = "Facebook"
|
||||||
regex = '''(?i)facebook.*['\"][0-9a-f]{32}['\"]'''
|
regex = '''(?i)facebook.*['\"][0-9a-f]{32}['\"]'''
|
||||||
[[regexes]]
|
[[regexes]]
|
||||||
description = "Facebook"
|
description = "Twitter"
|
||||||
regex = '''(?i)twitter.*['\"][0-9a-zA-Z]{35,44}['\"]'''
|
regex = '''(?i)twitter.*['\"][0-9a-zA-Z]{35,44}['\"]'''
|
||||||
|
|
||||||
[whitelist]
|
[whitelist]
|
||||||
@@ -27,4 +27,4 @@ regexes = [
|
|||||||
]
|
]
|
||||||
files = [
|
files = [
|
||||||
"(.*?)(jpg|gif|doc|pdf|bin|go)$"
|
"(.*?)(jpg|gif|doc|pdf|bin|go)$"
|
||||||
]
|
]
|
||||||
Reference in new issue
Block a user