19 lines
504 B
TOML
19 lines
504 B
TOML
# gitleaks flags the empty placeholders of the environment template and a fake
|
|
# numeric identifier used by the configuration tests. Everything else keeps the
|
|
# default rule set.
|
|
[extend]
|
|
useDefault = true
|
|
|
|
[[allowlists]]
|
|
description = "Environment template: empty placeholders, not credentials"
|
|
paths = [
|
|
'''(^|/)\.env\.(example|sample|template)$''',
|
|
]
|
|
|
|
[[allowlists]]
|
|
description = "Placeholder identifier from the configuration tests"
|
|
regexTarget = "match"
|
|
regexes = [
|
|
'''123456789012345678''',
|
|
]
|