mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24: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
12 lines
218 B
TOML
12 lines
218 B
TOML
[[rules]]
|
|
description = "entropy"
|
|
regex = '''['|"]([0-9a-zA-Z-._{}$\/\+=]{40,120})['|"]'''
|
|
tags = ["entropy"]
|
|
[[rules.Entropies]]
|
|
Min = "4.5"
|
|
Max = "4.7"
|
|
[[rules.Entropies]]
|
|
Min = "5.5"
|
|
Max = "6.3"
|
|
|