Skip to content

Commit 1240717

Browse files
authored
Merge pull request #30 from PayasSingh/main
added a few more API providers
2 parents 42030cd + 3aadf68 commit 1240717

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

data/apiKeyRegex.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,36 @@
110110
"provider":"Twitter Oauth",
111111
"flags":"gi",
112112
"pattern":"[t|T][w|W][i|I][t|T][t|T][e|E][r|R].{0,30}['\"\\s][0-9a-zA-Z]{35,44}['\"\\s]"
113+
},
114+
{
115+
"provider":"Discord Webhook",
116+
"flags":"gi",
117+
"pattern":"https:\/\/.+\/api\/webhooks\/(.+)\/(.+)"
118+
},
119+
{
120+
"provider":"Discord Access Token",
121+
"flags":"gi",
122+
"pattern":"[MN][A-Za-z\\d]{23}\\.[\\w-]{6}\\.[\\w-]{27}"
123+
},
124+
{
125+
"provider":"Github Oauth",
126+
"flags":"gi",
127+
"pattern":"[A-Za-z0-9_]{40}"
128+
},
129+
{
130+
"provider":"AWS Access Key ID",
131+
"flags":"gi",
132+
"pattern":"AKIA[0-9A-Z]{16}"
133+
},
134+
{
135+
"provider":"AWS Secret Key",
136+
"flags":"gi",
137+
"pattern":"[0-9a-zA-Z\/+]{40}"
138+
},
139+
{
140+
"provider":"JSON web token",
141+
"flags":"gi",
142+
"pattern":"([a-zA-Z0-9\\-_\\.]+)(\/[a-zA-Z0-9\\-_\\.]+)(\/[a-zA-Z0-9\\-_]*)*$"
113143
}
114144
]
115145
}

0 commit comments

Comments
 (0)