mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
More rule fixes (#1586)
* feat: tweak more rules * fix(curl): update pattern & ignore more stuff * chore: update .gitleaksignore
This commit is contained in:
1 parent
5407c44e0c
commit
455ae0aab7
47 files changed
+531
-374
No files matched your search
@@ -11,8 +11,8 @@ func PostManAPI() *config.Rule {
|
||||
r := config.Rule{
|
||||
RuleID: "postman-api-token",
|
||||
Description: "Uncovered a Postman API token, potentially compromising API testing and development workflows.",
|
||||
Regex: utils.GenerateUniqueTokenRegex(`PMAK-(?i)[a-f0-9]{24}\-[a-f0-9]{34}`, true),
|
||||
|
||||
Regex: utils.GenerateUniqueTokenRegex(`PMAK-(?i)[a-f0-9]{24}\-[a-f0-9]{34}`, false),
|
||||
Entropy: 3,
|
||||
Keywords: []string{
|
||||
"PMAK-",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user