mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +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
@@ -20,7 +20,7 @@ func FlutterwavePublicKey() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("flutterwavePubKey", "FLWPUBK_TEST-"+secrets.NewSecret(hex("32"))+"-X"),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func FlutterwaveSecretKey() *config.Rule {
|
||||
@@ -36,7 +36,7 @@ func FlutterwaveSecretKey() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("flutterwavePubKey", "FLWSECK_TEST-"+secrets.NewSecret(hex("32"))+"-X"),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func FlutterwaveEncKey() *config.Rule {
|
||||
@@ -52,5 +52,5 @@ func FlutterwaveEncKey() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("flutterwavePubKey", "FLWSECK_TEST-"+secrets.NewSecret(hex("12"))),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
Reference in new issue
Block a user