Last active
July 2, 2021 12:18
-
-
Save souvikhaldar/e40f83b026ea04522a7993dda5785ed3 to your computer and use it in GitHub Desktop.
githound
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Output warning on match but continue | |
warn: | |
- '(?i)user(name)?\W*[:=,]\W*.+$' | |
- '\/Users\/\w+\/' | |
# Fail immediately upon match | |
fail: | |
- '(?i)db_(user(name)?|pass(word)?|name)\W*[:=,]\W*.+$' | |
- '(?i)pass(word)?\W*[:=,]\W*.+$' | |
- '\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b' | |
# Skip on matched filename | |
skip: | |
- '\.example$' | |
- '\.sample$' | |
- '^.*\.(jpg|JPG|gif|GIF|doc|DOC|pdf|PDF)$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment