From c824a5d308340f4aa39cd05fc6da76549d7fd11a Mon Sep 17 00:00:00 2001 From: Quentin Laplanche Date: Mon, 12 Feb 2024 20:17:18 -0500 Subject: [PATCH] fix(hardcoded): remove duplicated `Stripe API Key` --- rules/hardcoded_credentials.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rules/hardcoded_credentials.go b/rules/hardcoded_credentials.go index ed1fb94..c10d18b 100644 --- a/rules/hardcoded_credentials.go +++ b/rules/hardcoded_credentials.go @@ -153,10 +153,6 @@ var secretsPatterns = [...]secretPattern{ name: "Stripe API Key", 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", regexp: regexp.MustCompile(`rk_live_[0-9a-zA-Z]{24}`),