Skip to content

Commit

Permalink
↪️Merge pull request #474 from Yelp/upper_case_secret_types
Browse files Browse the repository at this point in the history
Capitalize GitHub and SendGrid Secret Types
  • Loading branch information
KevinHock committed Aug 1, 2021
2 parents 86f0849 + e5a497d commit f0a8fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion detect_secrets/plugins/github_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion detect_secrets/plugins/sendgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0a8fb1

Please sign in to comment.