mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
sprucing up the joint
This commit is contained in:
1 parent
6f5079c193
commit
1e250f1a14
6 files changed
+54
-55
No files matched your search
+13
-7
@@ -1,11 +1,16 @@
|
||||
regexes:
|
||||
- '[g|G][i|I][t|T][h|H][u|U][b|B].*(=|:=|<-).*\w+.*'
|
||||
- '[a|A][w|W][s|S].*(=|:=|:|<-).*\w+.*'
|
||||
- '[h|H][e|E][r|R][o|O][k|K][u|U].*(=|:=|<-).*\w+.*'
|
||||
- '[f|F][a|A][c|C][e|E][b|B][o|O][o|O][k|K].*(=|:=|<-).*\w+.*'
|
||||
- '[t|T][w|W][i|I][t|T][t|T][e|E][r|R].*(=|:=|<-).*\w+.*'
|
||||
- '[r|R][e|E][d|D][d|D][i|I][t|T].*(=|:=|<-).*\w+.*'
|
||||
- '[t|T][w|W][i|I][l|L][i|I][o|O].*(=|:=|<-).*\w+.*'
|
||||
- "-----BEGIN RSA PRIVATE KEY-----"
|
||||
- "-----BEGIN OPENSSH PRIVATE KEY-----"
|
||||
- "-----BEGIN PGP PRIVATE KEY BLOCK-----"
|
||||
- "[f|F][a|A][c|C][e|E][b|B][o|O][o|O][k|K].*['|\"][0-9a-f]{32}['|\"]"
|
||||
- "[t|T][w|W][i|I][t|T][t|T][e|E][r|R].*['|\"][0-9a-zA-Z]{35,44}['|\"]"
|
||||
- "[g|G][i|I][t|T][h|H][u|U][b|B].*[['|\"]0-9a-zA-Z]{35,40}['|\"]"
|
||||
- "AKIA[0-9A-Z]{16}"
|
||||
- "[r|R][e|E][d|D][d|D][i|I][t|T].*['|\"][0-9a-zA-Z]{14}['|\"]"
|
||||
- "[h|H][e|E][r|R][o|O][k|K][u|U].*[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}"
|
||||
# add your own regex
|
||||
|
||||
|
||||
|
||||
stopwords:
|
||||
- 'setting'
|
||||
@@ -20,4 +25,5 @@ stopwords:
|
||||
- 'environment'
|
||||
- 'Environment'
|
||||
- 'ENVIRONMENT'
|
||||
# add your own stopwords
|
||||
|
||||
Reference in new issue
Block a user