-
Notifications
You must be signed in to change notification settings - Fork 194
/
Copy pathrules.json
23 lines (23 loc) · 1.65 KB
/
rules.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"Twitter Oauth 2": "[t|T][w|W][i|I][t|T][t|T][e|E][r|R].*.[0-9a-zA-Z]{35,44}",
"SSH (DSA) private key": "-----BEGIN DSA PRIVATE KEY-----.*",
"Facebook Oauth 2": "[f|F][a|A][c|C][e|E][b|B][o|O][o|O][k|K].*.[0-9a-f]{32}",
"Twitter Oauth": "[t|T][w|W][i|I][t|T][t|T][e|E][r|R].*['|\"][0-9a-zA-Z]{35,44}['|\"]",
"SSH (EC) private key": "-----BEGIN EC PRIVATE KEY-----.*",
"Generic AppSecret": "[a|A][p|P][p|P][s|S][e|E][c|C][r|R][e|E][t|T].*.[0-9a-zA-Z]{32,45}",
"Google Oauth 2": "[c|C][l|L][i|I][e|E][n|N][T|T][_][s|S][e|E][c|C][r|R][e|E][t|T].*[:].*[a-zA-Z0-9-_]{24}",
"Slack Token": "xox[p|b|o|a].*",
"Generic AppSecret 2": "[a|A][p|P][p|P][s|S][e|E][c|C][r|R][e|E][t|T].*['|\"][0-9a-zA-Z]{32,45}['|\"]",
"Generic Secret": "[s|S][e|E][c|C][r|R][e|E][t|T].*['|\"][0-9a-zA-Z]{32,45}['|\"]",
"PGP private key block": "-----BEGIN PGP PRIVATE KEY BLOCK-----.*",
"AWS API Key": "AKIA[0-9A-Z]{16}",
"GitHub": "[g|G][i|I][t|T][h|H][u|U][b|B].*[['|\"]0-9a-zA-Z]{35,40}['|\"]",
"RSA private key": "-----BEGIN RSA PRIVATE KEY-----.*",
"Private key": "-----BEGIN PRIVATE KEY-----.*",
"GitHub 2": "[g|G][i|I][t|T][h|H][u|U][b|B].*[c|C][l|L][i|I][e|E][n|N][T|T][s|S][e|E][c|C][r|R][e|E][t|T].*[0-9a-zA-Z]{35,40}",
"Google Oauth": "(\"client_secret\":\"[a-zA-Z0-9-_]{24}\")",
"Facebook Oauth": "[f|F][a|A][c|C][e|E][b|B][o|O][o|O][k|K].*['|\"][0-9a-f]{32}['|\"]",
"SSH (OPENSSH) private key": "-----BEGIN OPENSSH PRIVATE KEY-----.*",
"Heroku API Key": "[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}",
"Generic Password": ".*[p|P][a|A][s|S][s|S][w|W][o|O][r|R][d|D].*=.*"
}