Rm generic from default (#379)

* fixing commit latest bug

* remove generic rule from default to reduce false positives
This commit is contained in:
Zachary Rice authored and GitHub committed 2020-05-09 11:21:17 -04:00
1 parent e4b26aea4a
commit b7438011b4
17 files changed
+20 -877

No files matched your search

-5
View File
@@ -66,11 +66,6 @@ title = "gitleaks config"
regex = '''-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'''
tags = ["key", "AsymmetricPrivateKey"]
[[rules]]
description = "Generic Credential"
regex = '''(?i)(api_key|apikey|secret|password|pass|pw|key)(.{0,20})?[0-9a-zA-Z]{16,45}'''
tags = ["key", "API", "generic"]
[[rules]]
description = "Google API key"
regex = '''AIza[0-9A-Za-z\\-_]{35}'''