remove secretgroup from default config (#1288)

* remove secretgroup from default config

* update test data and AWS

* leave secretgroup
This commit is contained in:
Zachary Rice authored and GitHub committed 2023-11-10 12:53:07 -06:00
1 parent 20fcf5009f
commit e63b657bcf
93 files changed
+146 -284

No files matched your search

@@ -14,9 +14,6 @@ func DefinedNetworkingAPIToken() *config.Rule {
// Unique ID for the rule
RuleID: "defined-networking-api-token",
// Regex capture group for the actual secret
SecretGroup: 1,
// Regex used for detecting secrets. See regex section below for more details
Regex: generateSemiGenericRegex([]string{"dnkey"}, `dnkey-[a-z0-9=_\-]{26}-[a-z0-9=_\-]{52}`, true),