chore(security): allowlist template and test placeholders

This commit is contained in:
BlackAngelTV committed 2026-12-06 18:40:26 +01:00
1 parent 4bb75d68e3
commit a08ed3b10e
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
# 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''',
]