mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Update Harness rules to add _ and - in the account ID part. (#1503)
This commit is contained in:
1 parent
4e43d11093
commit
e93a7c0d26
2 files changed
+4
-3
No files matched your search
@@ -2098,7 +2098,7 @@ keywords = [
|
||||
[[rules]]
|
||||
id = "harness-api-key"
|
||||
description = "Identified a Harness Access Token (PAT or SAT), risking unauthorized access to a Harness account."
|
||||
regex = '''(?:pat|sat)\.[a-zA-Z0-9]{22}\.[a-zA-Z0-9]{24}\.[a-zA-Z0-9]{20}'''
|
||||
regex = '''(?:pat|sat)\.[a-zA-Z0-9_-]{22}\.[a-zA-Z0-9]{24}\.[a-zA-Z0-9]{20}'''
|
||||
keywords = [
|
||||
"pat.","sat.",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user