mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24: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
@@ -18,7 +18,7 @@ func ShopifySharedSecret() *config.Rule {
|
||||
|
||||
// validate
|
||||
tps := []string{"shopifySecret := \"shpss_" + secrets.NewSecret(hex("32")) + "\""}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func ShopifyAccessToken() *config.Rule {
|
||||
@@ -32,7 +32,7 @@ func ShopifyAccessToken() *config.Rule {
|
||||
|
||||
// validate
|
||||
tps := []string{"shopifyToken := \"shpat_" + secrets.NewSecret(hex("32")) + "\""}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func ShopifyCustomAccessToken() *config.Rule {
|
||||
@@ -46,7 +46,7 @@ func ShopifyCustomAccessToken() *config.Rule {
|
||||
|
||||
// validate
|
||||
tps := []string{"shopifyToken := \"shpca_" + secrets.NewSecret(hex("32")) + "\""}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
|
||||
func ShopifyPrivateAppAccessToken() *config.Rule {
|
||||
@@ -60,5 +60,5 @@ func ShopifyPrivateAppAccessToken() *config.Rule {
|
||||
|
||||
// validate
|
||||
tps := []string{"shopifyToken := \"shppa_" + secrets.NewSecret(hex("32")) + "\""}
|
||||
return validate(r, tps)
|
||||
return validate(r, tps, nil)
|
||||
}
|
||||
Reference in new issue
Block a user