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

+3 -2
View File
@@ -11,10 +11,11 @@ import (
func Twilio() *config.Rule {
// define rule
r := config.Rule{
Description: "Found a Twilio API Key, posing a risk to communication services and sensitive customer interaction data.",
RuleID: "twilio-api-key",
Description: "Found a Twilio API Key, posing a risk to communication services and sensitive customer interaction data.",
Regex: regexp.MustCompile(`SK[0-9a-fA-F]{32}`),
Keywords: []string{"twilio"},
Entropy: 3,
Keywords: []string{"SK"},
}
// validate