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

+1 -1
View File
@@ -10,7 +10,7 @@ func Snyk() *config.Rule {
Description: "Snyk API token",
RuleID: "snyk-api-token",
SecretGroup: 1,
Regex: generateSemiGenericRegex([]string{"snyk"}, hex8_4_4_4_12()),
Regex: generateSemiGenericRegex([]string{"snyk"}, hex8_4_4_4_12(), true),
Keywords: []string{"snyk"},
}