mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
remove secretgroup from default config (#1288)
* remove secretgroup from default config * update test data and AWS * leave secretgroup
This commit is contained in:
1 parent
20fcf5009f
commit
e63b657bcf
93 files changed
+146
-284
No files matched your search
@@ -11,8 +11,8 @@ func MapBox() *config.Rule {
|
||||
Description: "MapBox API token",
|
||||
RuleID: "mapbox-api-token",
|
||||
Regex: generateSemiGenericRegex([]string{"mapbox"}, `pk\.[a-z0-9]{60}\.[a-z0-9]{22}`, true),
|
||||
SecretGroup: 1,
|
||||
Keywords: []string{"mapbox"},
|
||||
|
||||
Keywords: []string{"mapbox"},
|
||||
}
|
||||
|
||||
// validate
|
||||
|
||||
Reference in new issue
Block a user