Skip to content

Commit

Permalink
🐍 Capitalize GitHub and SendGrid Secret Types
Browse files Browse the repository at this point in the history
I am not editing the plugins merged in PRs #347 and #359 because of how disruptive that would be to users that already made baselines.
  • Loading branch information
KevinHock committed Aug 1, 2021
1 parent 86f0849 commit e5a497d
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 e5a497d

Please sign in to comment.