Skip to main content

One post tagged with "WAF"

Web application firewalls and API security for Envoy.

View All Tags

Adding the OWASP Core Rule Set to Envoy with ext_proc

· 8 min read
CloudNativeWorks Engineering
The team that builds Elchi

Envoy does not ship a request-inspecting WAF. If you want the OWASP Core Rule Set (CRS) in front of your APIs, you have to bring an engine and connect it to Envoy. Envoy's external processing filter (ext_proc) is a clean way to do that: the WAF runs as a separate process with its own release cycle, and Envoy stays a standard build.

This post walks through the Envoy side of the wiring, the design choices that make ext_proc workable for a WAF, and the rollout sequence that keeps the CRS from blocking legitimate traffic on day one. The examples use Shield, Elchi's ext_proc sidecar, but the Envoy configuration works for any ext_proc service.