mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
fixing all golint and adding some more tests
This commit is contained in:
1 parent
2ccd40677d
commit
e446ba0738
19 files changed
+161
-91
No files matched your search
@@ -0,0 +1,9 @@
|
||||
[[rules]]
|
||||
description = "entropy and regex"
|
||||
regex = '''(?i)key(.{0,20})?['|"][0-9a-zA-Z]{16,45}['|"]'''
|
||||
entropies = [
|
||||
"4.5-4.7",
|
||||
"5.5-6.3",
|
||||
]
|
||||
tags = ["entropy"]
|
||||
|
||||
Reference in new issue
Block a user