Explorar o código

Merge pull request #166 from arbazkiraak/patch-1

Adding Stripe API Regex
Zachary Rice %!s(int64=7) %!d(string=hai) anos
pai
achega
35d170018e
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      gitleaks.toml

+ 3 - 0
gitleaks.toml

@@ -29,6 +29,9 @@ regex = '''-----BEGIN PGP PRIVATE KEY BLOCK-----'''
 [[regexes]]
 description = "Slack token"
 regex = '''xox[baprs]-.*'''
+[[regexes]]
+description = "Strip API Key"
+regex = '''(?i)(sk|pk)_(test|live)_[0-9a-zA-Z]{10,32}'''
 
 [whitelist]
 regexes = [