mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
Update asymmetric private key regex
This commit is contained in:
1 parent
725da55905
commit
77f2fdd09a
1 file changed
+3
-3
+3
-3
@@ -62,9 +62,9 @@ title = "gitleaks config"
|
||||
tags = ["key", "Slack"]
|
||||
|
||||
[[rules]]
|
||||
description = "EC"
|
||||
regex = '''-----BEGIN EC PRIVATE KEY-----'''
|
||||
tags = ["key", "EC"]
|
||||
description = "Asymmetric Private Key"
|
||||
regex = '''-----BEGIN (EC|PGP|DSA|RSA|OPENSSH) PRIVATE KEY( BLOCK)?-----'''
|
||||
tags = ["key", "AsymmetricPrivateKey"]
|
||||
|
||||
[[rules]]
|
||||
description = "Generic Credential"
|
||||
|
||||
Reference in new issue
Block a user