From a08ed3b10e518de265115674176474d87dee51cf Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Sun, 6 Dec 2026 18:29:56 +0100 Subject: [PATCH] chore(security): allowlist template and test placeholders --- .gitleaks.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 0000000..3534a31 --- /dev/null +++ b/.gitleaks.toml @@ -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''', +]