Add detection rules for DigitalOcean tokens (#1002)

* Add detection rules for DigitalOcean tokens

* go fmt correction
This commit is contained in:
Michael Henriksen authored and GitHub committed 2022-10-06 08:03:46 -05:00
1 parent 289b757158
commit 2678a54290
4 files changed
+82 -1

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func SlackWebHook() *config.Rule {
// validate
tps := []string{
"https://hooks.slack.com/services/" + secrets.NewSecret(alphaNumeric("44")), // gitleaks:allow
"https://hooks.slack.com/services/" + secrets.NewSecret(alphaNumeric("44")), // gitleaks:allow
"https://hooks.slack.com/workflows/" + secrets.NewSecret(alphaNumeric("44")), // gitleaks:allow
}
return validate(r, tps, nil)