coraza-spoa
by QuenchWorks
Coraza SPOA: the OWASP Coraza web application firewall as an HAProxy SPOE agent, with the OWASP Core Rule Set compiled in. Hardened by QuenchWorks: built from source, CVE-gated, cosign-signed and pinned by digest.
About this chart
Quenchworks Coraza SPOA
Hardened Coraza SPOA: the OWASP Coraza web application firewall as an HAProxy SPOE agent. HAProxy sends each request to the agent and denies what the OWASP Core Rule Set flags (XSS, SQL injection, scanners, protocol abuse). The CRS is compiled into the image. Static Go built from source, uid 1001 on a read-only rootfs, CVE-gated at build, cosign-signed and pinned by digest.
Install
helm install waf oci://ghcr.io/quenchworks/charts/coraza-spoa
Then point HAProxy's spoe backend at waf-coraza-spoa.<namespace>:9000; the chart notes print the frontend and
backend lines (upstream's example/haproxy has the full coraza.cfg).
Configuration
| Key | Default | What it does |
|---|---|---|
config | CRS, blocking | The whole config.yaml. Use SecRuleEngine DetectionOnly to tune a new site before blocking. bind must stay on :9000 |
replicaCount | 2 | Stateless; HAProxy spreads SPOE connections across the Service |
podDisruptionBudget.enabled | true | Keeps one agent up during drains, since HAProxy answers 500 when the agent is gone (with the example's error rule) |
networkPolicy.enabled | true | Ingress allowed on 9000 only, from any namespace (HAProxy usually runs elsewhere) |
Deploy coraza-spoa with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has coraza-spoa on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcoraza-spoa is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply