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

+3 -3
View File
@@ -14,7 +14,7 @@ func NewRelicUserID() *config.Rule {
"new-relic",
"newrelic",
"new_relic",
}, `NRAK-[a-z0-9]{27}`),
}, `NRAK-[a-z0-9]{27}`, true),
SecretGroup: 1,
Keywords: []string{
"NRAK",
@@ -37,7 +37,7 @@ func NewRelicUserKey() *config.Rule {
"new-relic",
"newrelic",
"new_relic",
}, alphaNumeric("64")),
}, alphaNumeric("64"), true),
SecretGroup: 1,
Keywords: []string{
"new-relic",
@@ -62,7 +62,7 @@ func NewRelicBrowserAPIKey() *config.Rule {
"new-relic",
"newrelic",
"new_relic",
}, `NRJS-[a-f0-9]{19}`),
}, `NRJS-[a-f0-9]{19}`, true),
SecretGroup: 1,
Keywords: []string{
"NRJS-",