mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
remove secretgroup from default config (#1288)
* remove secretgroup from default config * update test data and AWS * leave secretgroup
This commit is contained in:
1 parent
20fcf5009f
commit
e63b657bcf
93 files changed
+146
-284
No files matched your search
@@ -12,7 +12,6 @@ func YandexAWSAccessToken() *config.Rule {
|
||||
Description: "Yandex AWS Access Token",
|
||||
Regex: generateSemiGenericRegex([]string{"yandex"},
|
||||
`YC[a-zA-Z0-9_\-]{38}`, true),
|
||||
SecretGroup: 1,
|
||||
Keywords: []string{
|
||||
"yandex",
|
||||
},
|
||||
@@ -33,7 +32,7 @@ func YandexAPIKey() *config.Rule {
|
||||
Description: "Yandex API Key",
|
||||
Regex: generateSemiGenericRegex([]string{"yandex"},
|
||||
`AQVN[A-Za-z0-9_\-]{35,38}`, true),
|
||||
SecretGroup: 1,
|
||||
|
||||
Keywords: []string{
|
||||
"yandex",
|
||||
},
|
||||
@@ -54,7 +53,7 @@ func YandexAccessToken() *config.Rule {
|
||||
Description: "Yandex Access Token",
|
||||
Regex: generateSemiGenericRegex([]string{"yandex"},
|
||||
`t1\.[A-Z0-9a-z_-]+[=]{0,2}\.[A-Z0-9a-z_-]{86}[=]{0,2}`, true),
|
||||
SecretGroup: 1,
|
||||
|
||||
Keywords: []string{
|
||||
"yandex",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user