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
@@ -14,7 +14,7 @@ func SumoLogicAccessID() *config.Rule {
Description: "SumoLogic Access ID",
// TODO: Make 'su' case-sensitive.
Regex: generateSemiGenericRegex([]string{"sumo"},
"su[a-zA-Z0-9]{12}"),
"su[a-zA-Z0-9]{12}", false),
SecretGroup: 1,
Entropy: 3,
Keywords: []string{
@@ -56,7 +56,7 @@ func SumoLogicAccessToken() *config.Rule {
RuleID: "sumologic-access-token",
Description: "SumoLogic Access Token",
Regex: generateSemiGenericRegex([]string{"sumo"},
alphaNumeric("64")),
alphaNumeric("64"), true),
SecretGroup: 1,
Entropy: 3,
Keywords: []string{