mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
add real (test) standard and restricted keys (#1375)
Co-authored-by: Baruch Odem <baruch.odem@checkmarx.com>
This commit is contained in:
1 parent
821b232394
commit
247f423a39
2 files changed
+12
-4
No files matched your search
@@ -2725,9 +2725,9 @@ keywords = [
|
||||
[[rules]]
|
||||
id = "stripe-access-token"
|
||||
description = "Found a Stripe Access Token, posing a risk to payment processing services and sensitive financial data."
|
||||
regex = '''(?i)\b((sk)_(test|live)_[0-9a-z]{10,32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
regex = '''(?i)\b((sk|rk)_(test|live|prod)_[0-9a-z]{10,99})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||
keywords = [
|
||||
"sk_test","sk_live",
|
||||
"sk_test","sk_live","sk_prod","rk_test","rk_live","rk_prod",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
|
||||
Reference in new issue
Block a user