mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
Add detection rules for DigitalOcean tokens (#1002)
* Add detection rules for DigitalOcean tokens * go fmt correction
This commit is contained in:
1 parent
289b757158
commit
2678a54290
4 files changed
+82
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user