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 -2
View File
@@ -12,8 +12,8 @@ func TelegramBotToken() *config.Rule {
r := config.Rule{
Description: "Telegram Bot API Token",
RuleID: "telegram-bot-api-token",
SecretGroup: 1,
Regex: regexp.MustCompile(`(?i)(?:^|[^0-9])([0-9]{5,16}:A[a-zA-Z0-9_\-]{34})(?:$|[^a-zA-Z0-9_\-])`),
Regex: regexp.MustCompile(`(?i)(?:^|[^0-9])([0-9]{5,16}:A[a-zA-Z0-9_\-]{34})(?:$|[^a-zA-Z0-9_\-])`),
Keywords: []string{
"telegram",
"api",