diff --git a/detect_secrets/plugins/github_token.py b/detect_secrets/plugins/github_token.py index d63b117b2..b1397316b 100644 --- a/detect_secrets/plugins/github_token.py +++ b/detect_secrets/plugins/github_token.py @@ -8,7 +8,7 @@ class GitHubTokenDetector(RegexBasedDetector): """Scans for GitHub tokens.""" - secret_type = 'GitHub token' + secret_type = 'GitHub Token' denylist = [ # ref. https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/ diff --git a/detect_secrets/plugins/sendgrid.py b/detect_secrets/plugins/sendgrid.py index e3a1c5960..ea0a8fcab 100644 --- a/detect_secrets/plugins/sendgrid.py +++ b/detect_secrets/plugins/sendgrid.py @@ -8,7 +8,7 @@ class SendGridDetector(RegexBasedDetector): """Scans for SendGrid API keys.""" - secret_type = 'SendGrid API key' + secret_type = 'SendGrid API Key' denylist = [ # SendGrid API key