mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
* Reimplement the ability to override built-in rules PR #1524 broke the ability to specify a `[[rules]]` with the same ID as a built-in rule in order to extend the default configuration. This PR restores this ability, but merges the provided configuration with the default rule instead of overwriting the default rule wholesale. * Add tests * Append keywords and tags
9 lines
142 B
TOML
9 lines
142 B
TOML
title = "override a built-in rule's entropy"
|
|
|
|
[extend]
|
|
path = "../testdata/config/simple.toml"
|
|
|
|
[[rules]]
|
|
id = "aws-access-key"
|
|
entropy = 999
|