More rule fixes (#1586)

* feat: tweak more rules

* fix(curl): update pattern & ignore more stuff

* chore: update .gitleaksignore
This commit is contained in:
Richard Gomez authored and GitHub committed 2024-10-22 08:23:47 -05:00
1 parent 5407c44e0c
commit 455ae0aab7
47 files changed
+531 -374

No files matched your search

+2
View File
@@ -12,6 +12,7 @@ func SquareAccessToken() *config.Rule {
RuleID: "square-access-token",
Description: "Detected a Square Access Token, risking unauthorized payment processing and financial transaction exposure.",
Regex: utils.GenerateUniqueTokenRegex(`(?:EAAA|sq0atp-)[\w-]{22,60}`, false),
Entropy: 2,
Keywords: []string{"sq0atp-", "EAAA"},
}
@@ -33,6 +34,7 @@ func SquareSecret() *config.Rule {
RuleID: "square-secret",
Description: "Square Secret",
Regex: utils.GenerateUniqueTokenRegex(`sq0csp-[\w-]{43}`, false),
Entropy: 2,
Keywords: []string{"sq0csp-"},
}