mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
Removing private keyword from private key rule (#858)
This commit is contained in:
1 parent
a62cc52aba
commit
ad7509e3b4
2 files changed
+8
-3
No files matched your search
@@ -574,7 +574,7 @@ description = "Private Key"
|
||||
id = "private-key"
|
||||
regex = '''(?i)-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY-----[\s\S-]*KEY----'''
|
||||
keywords = [
|
||||
"-----begin private",
|
||||
"-----begin",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
|
||||
Reference in new issue
Block a user