feat(automation): add template filter and test allowlist

This commit is contained in:
CREDO23 2026-05-27 14:23:17 +02:00
parent 99fd1a1338
commit b4e5bf95a4

View file

@ -0,0 +1,31 @@
"""Filter and test names admitted into the sandboxed environment."""
from __future__ import annotations
ALLOWED_FILTERS: tuple[str, ...] = (
"default",
"first",
"join",
"last",
"length",
"lower",
"replace",
"reverse",
"sort",
"tojson",
"trim",
"truncate",
"upper",
"date",
"slugify",
)
ALLOWED_TESTS: tuple[str, ...] = (
"defined",
"none",
"number",
"string",
"mapping",
"sequence",
"boolean",
)