mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +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"]
|
tags = ["key", "Slack"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "EC"
|
description = "Asymmetric Private Key"
|
||||||
regex = '''-----BEGIN EC PRIVATE KEY-----'''
|
regex = '''-----BEGIN (EC|PGP|DSA|RSA|OPENSSH) PRIVATE KEY( BLOCK)?-----'''
|
||||||
tags = ["key", "EC"]
|
tags = ["key", "AsymmetricPrivateKey"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Generic Credential"
|
description = "Generic Credential"
|
||||||
|
|||||||
Reference in new issue
Block a user