mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
adding stopwords (#849)
* adding stopwords * format readme, update default config
This commit is contained in:
1 parent
82f7d61593
commit
8481f0e9cd
64 files changed
+181
-109
No files matched your search
@@ -21,7 +21,7 @@ func MailGunPrivateAPIToken() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("mailgun", "key-"+secrets.NewSecret(hex("32"))),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func MailGunPubAPIToken() *config.Rule {
|
||||
@@ -40,7 +40,7 @@ func MailGunPubAPIToken() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("mailgun", "pubkey-"+secrets.NewSecret(hex("32"))),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func MailGunSigningKey() *config.Rule {
|
||||
@@ -59,5 +59,5 @@ func MailGunSigningKey() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("mailgun", secrets.NewSecret(hex("32"))+"-00001111-22223333"),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
Reference in new issue
Block a user