mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
Adding a bunch of new rules, update allowlist to include node_modules… (#896)
* Adding a bunch of new rules, update allowlist to include node_modules and vendor folders, extend helper config functions * use func instead of function in stopwords
This commit is contained in:
1 parent
d196b83ca6
commit
73a3cf8afb
33 files changed
+1243
-25
No files matched your search
@@ -9,8 +9,7 @@ func Heroku() *config.Rule {
|
||||
r := config.Rule{
|
||||
Description: "Heroku API Key",
|
||||
RuleID: "heroku-api-key",
|
||||
Regex: generateSemiGenericRegex([]string{"heroku"},
|
||||
`[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}`),
|
||||
Regex: generateSemiGenericRegex([]string{"heroku"}, hex8_4_4_4_12()),
|
||||
SecretGroup: 1,
|
||||
Keywords: []string{"heroku"},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user