Skip to content

Commit

Permalink
Add check for GCP DBs in check-secrets.sh (#3925)
Browse files Browse the repository at this point in the history
  • Loading branch information
piazzatron committed Sep 23, 2022
1 parent 5dc84a9 commit e438b87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions check_secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ git secrets --register-aws
# rds urls
git secrets --add '.*[a-z0-9]*.rds.amazonaws.com:[0-9]*\/.*'

# match any postgres db with an IP hostname
git secrets --add 'postgres:\/\/.*\:.*@([0-9]*\.?)*:[0-9]{4}\/.*'

# scan the repository
git secrets --scan --cached

0 comments on commit e438b87

Please sign in to comment.