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
@@ -29,7 +29,7 @@ func GCPAPIKey() *config.Rule {
|
||||
r := config.Rule{
|
||||
RuleID: "gcp-api-key",
|
||||
Description: "GCP API key",
|
||||
Regex: generateUniqueTokenRegex(`AIza[0-9A-Za-z\\-_]{35}`),
|
||||
Regex: generateUniqueTokenRegex(`AIza[0-9A-Za-z\\-_]{35}`, true),
|
||||
SecretGroup: 1,
|
||||
Keywords: []string{
|
||||
"AIza",
|
||||
|
||||
Reference in new issue
Block a user