mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
feat(rules): make case insensitivity optional (#1215)
This commit is contained in:
1 parent
9fb36b242d
commit
18283bb48e
85 files changed
+151
-136
No files matched your search
@@ -13,7 +13,7 @@ func LinkedinClientSecret() *config.Rule {
|
||||
Regex: generateSemiGenericRegex([]string{
|
||||
"linkedin",
|
||||
"linked-in",
|
||||
}, alphaNumeric("16")),
|
||||
}, alphaNumeric("16"), true),
|
||||
SecretGroup: 1,
|
||||
Keywords: []string{
|
||||
"linkedin",
|
||||
@@ -36,7 +36,7 @@ func LinkedinClientID() *config.Rule {
|
||||
Regex: generateSemiGenericRegex([]string{
|
||||
"linkedin",
|
||||
"linked-in",
|
||||
}, alphaNumeric("14")),
|
||||
}, alphaNumeric("14"), true),
|
||||
SecretGroup: 1,
|
||||
Keywords: []string{
|
||||
"linkedin",
|
||||
|
||||
Reference in new issue
Block a user