remove secretgroup from default config (#1288)

* remove secretgroup from default config

* update test data and AWS

* leave secretgroup
This commit is contained in:
Zachary Rice authored and GitHub committed 2023-11-10 12:53:07 -06:00
1 parent 20fcf5009f
commit e63b657bcf
93 files changed
+146 -284

No files matched your search

+2 -3
View File
@@ -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",
},