mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14: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
@@ -15,7 +15,6 @@ func InfracostAPIToken() *config.Rule {
|
||||
RuleID: "infracost-api-token",
|
||||
|
||||
// Regex capture group for the actual secret
|
||||
SecretGroup: 1,
|
||||
|
||||
// Regex used for detecting secrets. See regex section below for more details
|
||||
Regex: generateUniqueTokenRegex(`ico-[a-zA-Z0-9]{32}`, true),
|
||||
|
||||
Reference in new issue
Block a user