mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
1 parent
765bcd5854
commit
1fb3a77eb8
2 files changed
+4
-4
No files matched your search
@@ -12,7 +12,7 @@ func EasyPost() *config.Rule {
|
|||||||
r := config.Rule{
|
r := config.Rule{
|
||||||
Description: "EasyPost API token",
|
Description: "EasyPost API token",
|
||||||
RuleID: "easypost-api-token",
|
RuleID: "easypost-api-token",
|
||||||
Regex: regexp.MustCompile(`EZAK(?i)[a-z0-9]{54}`),
|
Regex: regexp.MustCompile(`\bEZAK(?i)[a-z0-9]{54}`),
|
||||||
Keywords: []string{"EZAK"},
|
Keywords: []string{"EZAK"},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ func EasyPostTestAPI() *config.Rule {
|
|||||||
r := config.Rule{
|
r := config.Rule{
|
||||||
Description: "EasyPost test API token",
|
Description: "EasyPost test API token",
|
||||||
RuleID: "easypost-test-api-token",
|
RuleID: "easypost-test-api-token",
|
||||||
Regex: regexp.MustCompile(`EZTK(?i)[a-z0-9]{54}`),
|
Regex: regexp.MustCompile(`\bEZTK(?i)[a-z0-9]{54}`),
|
||||||
Keywords: []string{"EZTK"},
|
Keywords: []string{"EZTK"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -357,7 +357,7 @@ keywords = [
|
|||||||
[[rules]]
|
[[rules]]
|
||||||
description = "EasyPost API token"
|
description = "EasyPost API token"
|
||||||
id = "easypost-api-token"
|
id = "easypost-api-token"
|
||||||
regex = '''EZAK(?i)[a-z0-9]{54}'''
|
regex = '''\bEZAK(?i)[a-z0-9]{54}'''
|
||||||
keywords = [
|
keywords = [
|
||||||
"ezak",
|
"ezak",
|
||||||
]
|
]
|
||||||
@@ -365,7 +365,7 @@ keywords = [
|
|||||||
[[rules]]
|
[[rules]]
|
||||||
description = "EasyPost test API token"
|
description = "EasyPost test API token"
|
||||||
id = "easypost-test-api-token"
|
id = "easypost-test-api-token"
|
||||||
regex = '''EZTK(?i)[a-z0-9]{54}'''
|
regex = '''\bEZTK(?i)[a-z0-9]{54}'''
|
||||||
keywords = [
|
keywords = [
|
||||||
"eztk",
|
"eztk",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user