mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04: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
@@ -19,7 +19,6 @@ func JFrogAPIKey() *config.Rule {
|
||||
RuleID: "jfrog-api-key",
|
||||
|
||||
// Regex capture group for the actual secret
|
||||
SecretGroup: 1,
|
||||
|
||||
// Regex used for detecting secrets. See regex section below for more details
|
||||
Regex: generateSemiGenericRegex(keywords, alphaNumeric("73"), true),
|
||||
@@ -46,7 +45,6 @@ func JFrogIdentityToken() *config.Rule {
|
||||
RuleID: "jfrog-identity-token",
|
||||
|
||||
// Regex capture group for the actual secret
|
||||
SecretGroup: 1,
|
||||
|
||||
// Regex used for detecting secrets. See regex section below for more details
|
||||
Regex: generateSemiGenericRegex(keywords, alphaNumeric("64"), true),
|
||||
|
||||
Reference in new issue
Block a user