mirror of
https://github.com/securego/gosec.git
synced 2025-11-25 22:22:17 +02:00
fix(hardcoded): remove duplicated Stripe API Key
This commit is contained in:
committed by
Cosmin Cojocar
parent
d13d7dac9b
commit
c824a5d308
@@ -153,10 +153,6 @@ var secretsPatterns = [...]secretPattern{
|
|||||||
name: "Stripe API Key",
|
name: "Stripe API Key",
|
||||||
regexp: regexp.MustCompile(`sk_live_[0-9a-zA-Z]{24}`),
|
regexp: regexp.MustCompile(`sk_live_[0-9a-zA-Z]{24}`),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "Stripe API Key",
|
|
||||||
regexp: regexp.MustCompile(`sk_live_[0-9a-zA-Z]{24}`),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Stripe Restricted API Key",
|
name: "Stripe Restricted API Key",
|
||||||
regexp: regexp.MustCompile(`rk_live_[0-9a-zA-Z]{24}`),
|
regexp: regexp.MustCompile(`rk_live_[0-9a-zA-Z]{24}`),
|
||||||
|
|||||||
Reference in New Issue
Block a user