mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24: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
160 B
TOML
9 lines
160 B
TOML
title = "override a built-in rule's description"
|
|
|
|
[extend]
|
|
path = "../testdata/config/simple.toml"
|
|
|
|
[[rules]]
|
|
id = "aws-access-key"
|
|
description = "Puppy Doggy"
|