Engineering journal
Blog
Notes from building Revetment and running it on our own production. Each entry has a date, and each figure says where it came from.
The Envoy Gateway WAF security policy lifecycle, end to end
How the Envoy Gateway WAF security policy lifecycle works: CRD attachment, shadow evidence, staged promotion, scoped exceptions, and the limits to plan around.
Kubernetes WAF failure modes: what happens when rules don't load
A field guide to Kubernetes WAF failure modes: rules that never compile, policies that silently miss routes, and shadow data nobody reads.
Kubernetes WAF policy as code: how RevetmentPolicy attaches to a route
Kubernetes WAF policy as code means rules live in CRDs, not a console. See how RevetmentPolicy and RevetmentException attach to HTTPRoutes and move through Git.
Envoy Gateway WAF exception management: scoping rules to a route and parameter
Envoy Gateway WAF exception management with Revetment scopes exceptions to one rule, route and parameter, stopping false positives without global disables.
How to promote WAF rules from shadow to blocking in Envoy Gateway
A staged path for promoting WAF rules from shadow to blocking in Envoy Gateway: 1%, 10%, 100% per route, rollback thresholds, and scoped exceptions.
Why Revetment runs as a native module inside Envoy Gateway
How the Revetment Envoy Gateway WAF native module attaches inside the Envoy process, what it inspects, and how shadow events become per-route blocking.
How to use shadow mode to test WAF rules in Envoy Gateway
Envoy Gateway WAF shadow mode records what a rule would block and lets the request through. Here is how to read those events and promote a route safely.
28 days from shadow to blocking
We attached Revetment to 18 routes on our own production on 26 September 2026, in shadow mode. On 24 October 2026 all 18 were blocking. What the events showed us.
Why Revetment exists
ingress-nginx was retired in March 2026, and its ModSecurity integration went with it. Envoy Gateway, where we moved, has no WAF of its own. So we wrote one.