Update stripe rule to not alert on publishable keys (#1320)

* Update stripe rule to not alert on publishable keys

* run go gen

---------

Co-authored-by: Erin Browning <ebrowning@makenotion.com>
Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
This commit is contained in:
authored and GitHub committed 2024-01-31 13:13:04 -06:00
1 parent 8b8920d4c3
commit afe046b3b4
2 files changed
+3 -5

No files matched your search

+2 -2
View File
@@ -2688,9 +2688,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|pk)_(test|live)_[0-9a-z]{10,32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
regex = '''(?i)\b((sk)_(test|live)_[0-9a-z]{10,32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
keywords = [
"sk_test","pk_test","sk_live","pk_live",
"sk_test","sk_live",
]
[[rules]]