Fix vendor name casing, Flutterwave typo (#785)

This commit is contained in:
Ian Mckay authored and GitHub committed 2022-02-19 10:24:47 -06:00
1 parent d1f642a9df
commit e9529744f8
1 file changed
+18 -18
+18 -18
View File
@@ -2,7 +2,7 @@ title = "gitleaks config"
# Gitleaks rules are defined by regular expressions and entropy ranges. # Gitleaks rules are defined by regular expressions and entropy ranges.
# Some secrets have unique signatures which make detecting those secrets easy. # Some secrets have unique signatures which make detecting those secrets easy.
# Examples of those secrets would be Gitlab Personal Access Tokens, AWS keys, and Github Access Tokens. # Examples of those secrets would be GitLab Personal Access Tokens, AWS keys, and GitHub Access Tokens.
# All these examples have defined prefixes like `glpat`, `AKIA`, `ghp_`, etc. # All these examples have defined prefixes like `glpat`, `AKIA`, `ghp_`, etc.
# #
# Other secrets might just be a hash which means we need to write more complex rules to verify # Other secrets might just be a hash which means we need to write more complex rules to verify
@@ -62,12 +62,12 @@ regex = '''-----BEGIN PGP PRIVATE KEY BLOCK-----'''
[[rules]] [[rules]]
id = "github-pat" id = "github-pat"
description = "Github Personal Access Token" description = "GitHub Personal Access Token"
regex = '''ghp_[0-9a-zA-Z]{36}''' regex = '''ghp_[0-9a-zA-Z]{36}'''
[[rules]] [[rules]]
id = "github-oauth" id = "github-oauth"
description = "Github OAuth Access Token" description = "GitHub OAuth Access Token"
regex = '''gho_[0-9a-zA-Z]{36}''' regex = '''gho_[0-9a-zA-Z]{36}'''
[[rules]] [[rules]]
@@ -83,12 +83,12 @@ regex = '''-----BEGIN EC PRIVATE KEY-----'''
[[rules]] [[rules]]
id = "github-app-token" id = "github-app-token"
description = "Github App Token" description = "GitHub App Token"
regex = '''(ghu|ghs)_[0-9a-zA-Z]{36}''' regex = '''(ghu|ghs)_[0-9a-zA-Z]{36}'''
[[rules]] [[rules]]
id = "github-refresh-token" id = "github-refresh-token"
description = "Github Refresh Token" description = "GitHub Refresh Token"
regex = '''ghr_[0-9a-zA-Z]{76}''' regex = '''ghr_[0-9a-zA-Z]{76}'''
[[rules]] [[rules]]
@@ -326,18 +326,18 @@ regex = '''(?i)(finicity[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([
secretGroup = 3 secretGroup = 3
[[rules]] [[rules]]
id = "flutterweave-public-key" id = "flutterwave-public-key"
description = "Flutterweave public key" description = "Flutterwave public key"
regex = '''FLWPUBK_TEST-(?i)[a-h0-9]{32}-X''' regex = '''FLWPUBK_TEST-(?i)[a-h0-9]{32}-X'''
[[rules]] [[rules]]
id = "flutterweave-secret-key" id = "flutterwave-secret-key"
description = "Flutterweave secret key" description = "Flutterwave secret key"
regex = '''FLWSECK_TEST-(?i)[a-h0-9]{32}-X''' regex = '''FLWSECK_TEST-(?i)[a-h0-9]{32}-X'''
[[rules]] [[rules]]
id = "flutterweave-enc-key" id = "flutterwave-enc-key"
description = "Flutterweave encrypted key" description = "Flutterwave encrypted key"
regex = '''FLWSECK_TEST[a-h0-9]{12}''' regex = '''FLWSECK_TEST[a-h0-9]{12}'''
[[rules]] [[rules]]
@@ -357,12 +357,12 @@ regex = '''['\"]eyJrIjoi(?i)[a-z0-9-_=]{72,92}['\"]'''
[[rules]] [[rules]]
id = "hashicorp-tf-api-token" id = "hashicorp-tf-api-token"
description = "Hashicorp Terraform user/org API token" description = "HashiCorp Terraform user/org API token"
regex = '''['\"](?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9-_=]{60,70}['\"]''' regex = '''['\"](?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9-_=]{60,70}['\"]'''
[[rules]] [[rules]]
id = "hubspot-api-token" id = "hubspot-api-token"
description = "Hubspot API token" description = "HubSpot API token"
regex = '''(?i)(hubspot[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{8}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{12})['\"]''' regex = '''(?i)(hubspot[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{8}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{4}-[a-h0-9]{12})['\"]'''
secretGroup = 3 secretGroup = 3
@@ -470,12 +470,12 @@ regex = '''['\"](npm_(?i)[a-z0-9]{36})['\"]'''
[[rules]] [[rules]]
id = "planetscale-password" id = "planetscale-password"
description = "Planetscale password" description = "PlanetScale password"
regex = '''pscale_pw_(?i)[a-z0-9\-_\.]{43}''' regex = '''pscale_pw_(?i)[a-z0-9\-_\.]{43}'''
[[rules]] [[rules]]
id = "planetscale-api-token" id = "planetscale-api-token"
description = "Planetscale API token" description = "PlanetScale API token"
regex = '''pscale_tkn_(?i)[a-z0-9\-_\.]{43}''' regex = '''pscale_tkn_(?i)[a-z0-9\-_\.]{43}'''
[[rules]] [[rules]]
@@ -495,7 +495,7 @@ regex = '''rubygems_[a-f0-9]{48}'''
[[rules]] [[rules]]
id = "sendgrid-api-token" id = "sendgrid-api-token"
description = "Sendgrid API token" description = "SendGrid API token"
regex = '''SG\.(?i)[a-z0-9_\-\.]{66}''' regex = '''SG\.(?i)[a-z0-9_\-\.]{66}'''
[[rules]] [[rules]]
@@ -510,13 +510,13 @@ regex = '''shippo_(live|test)_[a-f0-9]{40}'''
[[rules]] [[rules]]
id = "linedin-client-secret" id = "linedin-client-secret"
description = "Linkedin Client secret" description = "LinkedIn Client secret"
regex = '''(?i)(linkedin[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z]{16})['\"]''' regex = '''(?i)(linkedin[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z]{16})['\"]'''
secretGroup = 3 secretGroup = 3
[[rules]] [[rules]]
id = "linedin-client-id" id = "linedin-client-id"
description = "Linkedin Client ID" description = "LinkedIn Client ID"
regex = '''(?i)(linkedin[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{14})['\"]''' regex = '''(?i)(linkedin[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-z0-9]{14})['\"]'''
secretGroup = 3 secretGroup = 3