-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatterns.json
54 lines (54 loc) · 1.83 KB
/
patterns.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"patterns": [
{
"name": "American Express Credit Card",
"description": "American Express Credit Card",
"regexx": "^3[47]\\d{13,14}$"
},
{
"name": "MasterCard Credit Card",
"description": "MasterCard Credit Card",
"regexx": "^5[1-5]\\d{2}(| |-)(?:\\d{4}\\1){2}\\d{4}$"
},
{
"name": "Visa Credit Card",
"description": "Visa Credit Card",
"regexx": "^4\\d{3}(| |-)(?:\\d{4}\\1){2}\\d{4}$"
},
{
"name": "Mail Address",
"description": "Mail Address",
"regexx": "^[-!#-'*+\\/-9=?^-~]+(?:\\.[-!#-'*+\\/-9=?^-~]+)*@[-!#-'*+\\/-9=?^-~]+(?:\\.[-!#-'*+\\/-9=?^-~]+)+$"
},
{
"name": "AWS - Secret Access Key",
"description": "AWS - Secret Access Key",
"regexx": "(?<![A-Za-z0-9/+=])[A-Za-z0-9/+=]{40}(?![A-Za-z0-9/+=])"
},
{
"name": "AWS - Access Key ID",
"description": "AWS - Access Key ID",
"regexx": "(?<![A-Z0-9])[A-Z0-9]{20}(?![A-Z0-9])"
},
{
"name": "JSON Web Token (JWT)",
"description": "JSON Web Token (JWT)",
"regexx": "\\b([A-Za-z0-9_-]{10,})\\.([A-Za-z0-9_-]{10,})\\.([A-Za-z0-9_-]{10,})\\b"
},
{
"name": "Google API Key",
"description": "Google API Key",
"regexx": "(?<![A-Za-z0-9])[A-Za-z0-9_]{39}(?![A-Za-z0-9])"
},
{
"name": "IPv4 Address",
"description": "IPv4 Address",
"regexx": "\\b(?:\\d{1,3}\\.){3}\\d{1,3}\\b"
},
{
"name": "IPv6 Address",
"description": "IPv6 Address",
"regexx": "\\b(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}\\b"
}
]
}