mirror of
https://github.com/securego/gosec.git
synced 2025-03-19 21:08:30 +02:00
fix(hardcoded): remove duplicated Stripe API Key
This commit is contained in:
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}`),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user