Policy in Git
Export the current configuration as YAML, version it, change it through pull requests and review changes like code.
Keep ToutWAF's policy as files in Git: export, validate, compare, test, simulate, then apply and publish from CI. An Ansible role installs the nodes; the Terraform provider is not shipped yet.
Where to find it in the console : Command line: toutwafctl policy and toutwafctl test; console: Policies (versions, comparison, approval).
Export the current configuration as YAML, version it, change it through pull requests and review changes like code.
policy diff exits with code 3 when changes are pending, like git diff --exit-code: a nightly job sees whether someone changed the console.
Schema and DSL validation, rule tests with JUnit output, simulation on stored real traffic.
Policy versions can be listed, published and rolled back with one command; each version has its comparison.
The same commands serve GitHub Actions, GitLab CI, Jenkins and others.
toutwafctl policy export -o policy.yaml, as YAML or JSON, for everything or for one site.
toutwafctl policy validate -f policy.yaml: the schema and the DSL are checked.
toutwafctl policy diff -f policy.yaml: 0 for no change, 3 with changes pending, 1 if the file is invalid.
toutwafctl test and toutwafctl simulate, with a JUnit report for CI.
toutwafctl policy apply -f policy.yaml --publish --comment “PR 123”. Without --prune, apply only adds and changes; with --prune it deletes what is absent from the file.
The CI token carries only policy:read, policy:write, policy:publish, apps:read, rules:read (and exceptions:write if the file contains exceptions), with an expiry.
Covered by the product's tests.
Said plainly.
We prefer to say it plainly.
Every change goes through a pull request, tests and a simulation before being published.
Nodes are installed by Ansible with a policy in group variables, validated before it is written.
A nightly job compares the file with the console and warns if the gap is not zero.
The basics are free; the advanced options need a paid offer. An option under licence stays visible in the console, locked, never hidden.
Вернуться к значению по умолчанию для расширенной опции можно всегда. Что происходит по окончании платной лицензии, описано в вопросах и ответах о тарифах: 48 часов льготного периода, 48 часов только для чтения, затем защита WAF отключается до продления.
Установите его на собственный сервер или напишите нам, чтобы обсудить лицензии.