mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
chore: remove unnecessary capture groups (#1460)
This commit is contained in:
1 parent
80bd1779e3
commit
b4009bfba4
11 files changed
+28
-30
No files matched your search
@@ -12,7 +12,7 @@ func Clojars() *config.Rule {
|
||||
r := config.Rule{
|
||||
Description: "Uncovered a possible Clojars API token, risking unauthorized access to Clojure libraries and potential code manipulation.",
|
||||
RuleID: "clojars-api-token",
|
||||
Regex: regexp.MustCompile(`(?i)(CLOJARS_)[a-z0-9]{60}`),
|
||||
Regex: regexp.MustCompile(`(?i)CLOJARS_[a-z0-9]{60}`),
|
||||
Keywords: []string{"clojars"},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user