Merge pull request #45 from plutov/feat/add_gcp_regexp

#35 Add GCP service account key check: PKCS8
This commit is contained in:
Zachary Rice authored and GitHub committed 2018-02-25 09:19:27 -06:00
commit 73387cbc53
1 file changed
+1
+1
View File
@@ -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}['|\"]"),