working on filetype filtering

This commit is contained in:
zach rice committed 2019-04-13 16:48:57 -05:00
1 parent 87d6c588a6
commit cb74386ef0
4 files changed
+67 -3

No files matched your search

+16
View File
@@ -22,6 +22,7 @@ title = "gitleaks config"
description = "AWS Key"
regex = '''AKIA[0-9A-Z]{16}'''
tags = ["key", "AWS"]
severity = "high"
[[rules]]
description = "PKCS8"
@@ -63,6 +64,21 @@ description = "Slack"
regex = '''xox[baprs]-([0-9a-zA-Z]{10,48})?'''
tags = ["key", "Slack"]
[[rules]]
description = "Generic Key"
regex = '''(?i)key(.{0,6})?(:|=|=>|:=)'''
entropies = ["4.1-4.3"]
filetypes = [".gee"]
entropyROI = "line"
tags = ["key"]
severity = "medium"
[[rules]]
description = "Any go file"
filetypes = [".go"]
tags = ["go files"]
severity = "low"
[whitelist]
files = [
"(.*?)(jpg|gif|doc|pdf|bin)$"