Skip to content

Commit

Permalink
Merge pull request #430 from pablosantiagolopez/feature/keyword-denylist
Browse files Browse the repository at this point in the history
New keywords in the denylist
  • Loading branch information
domanchi committed Apr 14, 2021
2 parents 72f44d8 + 8a509d6 commit 16f6625
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions detect_secrets/plugins/keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,24 @@

# Note: All values here should be lowercase
DENYLIST = (
'apikey',
'api_key',
'aws_secret_access_key',
'db_pass',
'api_?key',
'auth_?key',
'service_?key',
'account_?key',
'db_?key',
'database_?key',
'priv_?key',
'private_?key',
'client_?key',
'db_?pass',
'database_?pass',
'key_?pass',
'password',
'passwd',
'private_key',
'pwd',
'secret',
'secrete',
'contraseña',
'contrasena',
)
# Includes ], ', " as closing
CLOSING = r'[]\'"]{0,2}'
Expand Down

0 comments on commit 16f6625

Please sign in to comment.