feat(rules): make case insensitivity optional (#1215)

This commit is contained in:
Richard Gomez authored and GitHub committed 2023-08-24 10:41:52 -05:00
1 parent 9fb36b242d
commit 18283bb48e
85 files changed
+151 -136

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ func KucoinAccessToken() *config.Rule {
r := config.Rule{
RuleID: "kucoin-access-token",
Description: "Kucoin Access Token",
Regex: generateSemiGenericRegex([]string{"kucoin"}, hex("24")),
Regex: generateSemiGenericRegex([]string{"kucoin"}, hex("24"), true),
SecretGroup: 1,
Keywords: []string{
"kucoin",
@@ -29,7 +29,7 @@ func KucoinSecretKey() *config.Rule {
r := config.Rule{
RuleID: "kucoin-secret-key",
Description: "Kucoin Secret Key",
Regex: generateSemiGenericRegex([]string{"kucoin"}, hex8_4_4_4_12()),
Regex: generateSemiGenericRegex([]string{"kucoin"}, hex8_4_4_4_12(), true),
SecretGroup: 1,
Keywords: []string{
"kucoin",