mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +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
@@ -10,7 +10,7 @@ func Databricks() *config.Rule {
|
||||
r := config.Rule{
|
||||
Description: "Databricks API token",
|
||||
RuleID: "databricks-api-token",
|
||||
Regex: generateUniqueTokenRegex(`dapi[a-h0-9]{32}`),
|
||||
Regex: generateUniqueTokenRegex(`dapi[a-h0-9]{32}`, true),
|
||||
Keywords: []string{"dapi"},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user