mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
adding a ton of stopwords to the generic rule only as that is the loudest rule (#851)
This commit is contained in:
1 parent
8481f0e9cd
commit
f93e5dc844
12 files changed
+3003
-44
No files matched your search
@@ -44,7 +44,7 @@ func SlackWebHook() *config.Rule {
|
||||
|
||||
// validate
|
||||
tps := []string{
|
||||
"https://hooks.slack.com/services/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", // gitleaks:allow
|
||||
"https://hooks.slack.com/services/" + secrets.NewSecret(alphaNumeric("44")), // gitleaks:allow
|
||||
}
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
Reference in new issue
Block a user