mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
* Modified Entropy to be able to apply it on regex match or specific capture group * Config tests * Small fixes on entropy ranges * Fix toml configs Fix tests * Indents and code styles
10 lines
181 B
TOML
10 lines
181 B
TOML
[[rules]]
|
|
description = "entropy"
|
|
regex = '''['|"]([0-9a-zA-Z-._{}$\/\+=]{20,120})['|"]'''
|
|
tags = ["entropy"]
|
|
[[rules.Entropies]]
|
|
Min = "1.0"
|
|
Max = "8.5"
|
|
Group = "2"
|
|
|