diff --git a/scanner/secrets.go b/scanner/secrets.go index 34ba825..57b4af1 100644 --- a/scanner/secrets.go +++ b/scanner/secrets.go @@ -215,13 +215,6 @@ func GetSecretRegexes() []Secret { []string{}, "?", }, - { - "Pictatic API Key", - "Pictatic API Key", - `sk\_live\_[0-9a-z]{32}`, - []string{}, - "?", - }, { "PayPal Braintree access token", "PayPal Braintree access token", @@ -327,6 +320,13 @@ func GetSecretRegexes() []Secret { []string{}, "?", }, + { + "AWS cognito pool", + "AWS Cognito pool", + `(us-east-1|us-east-2|us-west-1|us-west-2|sa-east-1):[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}`, + []string{}, + "?", + }, { "S3 Bucket", "S3 Bucket",