|
@@ -10,12 +10,10 @@ func StripeAccessToken() *config.Rule {
|
|
|
r := config.Rule{
|
|
r := config.Rule{
|
|
|
Description: "Found a Stripe Access Token, posing a risk to payment processing services and sensitive financial data.",
|
|
Description: "Found a Stripe Access Token, posing a risk to payment processing services and sensitive financial data.",
|
|
|
RuleID: "stripe-access-token",
|
|
RuleID: "stripe-access-token",
|
|
|
- Regex: generateUniqueTokenRegex(`(sk|pk)_(test|live)_[0-9a-z]{10,32}`, true),
|
|
|
|
|
|
|
+ Regex: generateUniqueTokenRegex(`(sk)_(test|live)_[0-9a-z]{10,32}`, true),
|
|
|
Keywords: []string{
|
|
Keywords: []string{
|
|
|
"sk_test",
|
|
"sk_test",
|
|
|
- "pk_test",
|
|
|
|
|
"sk_live",
|
|
"sk_live",
|
|
|
- "pk_live",
|
|
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
|
|
|