Skip to content

Commit c824a5d

Browse files
quentin-laplancheccojocar
authored andcommittedFeb 13, 2024
fix(hardcoded): remove duplicated Stripe API Key
1 parent d13d7da commit c824a5d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎rules/hardcoded_credentials.go

-4
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,6 @@ var secretsPatterns = [...]secretPattern{
153153
name: "Stripe API Key",
154154
regexp: regexp.MustCompile(`sk_live_[0-9a-zA-Z]{24}`),
155155
},
156-
{
157-
name: "Stripe API Key",
158-
regexp: regexp.MustCompile(`sk_live_[0-9a-zA-Z]{24}`),
159-
},
160156
{
161157
name: "Stripe Restricted API Key",
162158
regexp: regexp.MustCompile(`rk_live_[0-9a-zA-Z]{24}`),

0 commit comments

Comments
 (0)