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''', +]