mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
#35 Add GCP service account key check: PKCS8
This commit is contained in:
1 parent
7554b51ad5
commit
bc0dab1c56
1 file changed
+1
@@ -41,6 +41,7 @@ func init() {
|
||||
"Info", "INFO", "env", "Env", "ENV", "environment", "Environment", "ENVIRONMENT"}
|
||||
|
||||
regexes = map[string]*regexp.Regexp{
|
||||
"PKCS8": regexp.MustCompile("-----BEGIN PRIVATE KEY-----"),
|
||||
"RSA": regexp.MustCompile("-----BEGIN RSA PRIVATE KEY-----"),
|
||||
"SSH": regexp.MustCompile("-----BEGIN OPENSSH PRIVATE KEY-----"),
|
||||
"Facebook": regexp.MustCompile("(?i)facebook.*['|\"][0-9a-f]{32}['|\"]"),
|
||||
|
||||
Reference in new issue
Block a user