mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +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 PlanetScalePassword() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("planetScalePassword", "pscale_pw_"+secrets.NewSecret(alphaNumericExtended("43"))),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func PlanetScaleToken() *config.Rule {
|
||||
@@ -40,5 +40,5 @@ func PlanetScaleToken() *config.Rule {
|
||||
tps := []string{
|
||||
generateSampleSecret("planetScalePassword", "pscale_tkn_"+secrets.NewSecret(alphaNumericExtended("43"))),
|
||||
}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
Reference in new issue
Block a user