---
id: "coraza"
type: "component"
kind: "waf"
provider: "default"
category: "security"
docs: "https://coraza.io/docs/tutorials/introduction/"
url: "https://localhost:3000/catalogue/components/coraza"
---

# Coraza

Go web application firewall library with ModSecurity SecLang compatibility and no bundled rules.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Web application firewall](https://localhost:3000/catalogue/kinds/waf) |
| Category | Security |
| Official docs | [https://coraza.io/docs/tutorials/introduction/](https://coraza.io/docs/tutorials/introduction/) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `botProtection` | boolean | — | no | — | **false** |
| `coreRuleSetInstalled` | boolean | — | no | false | inherited |
| `customRuleCount` | integer | — | no | — | inherited |
| `deployment` | enum | `library`, `caddy`, `envoy`, `nginx`, `proxy-wasm` | no | "library" | inherited |
| `managed` | boolean | — | no | false | **false** |
| `managedRuleSet` | string | — | no | — | inherited |
| `mode` | enum | `detection`, `prevention`, `off` | no | — | **"off"** |
| `rateLimiting` | boolean | — | no | — | **false** |
| `ruleEngine` | enum | `off`, `detection-only`, `on` | no | "off" | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 13

- [Web Application Firewall](https://localhost:3000/catalogue/components/alibaba-waf.md) `alibaba-waf` — alibabacloud
- [AWS WAF web ACL](https://localhost:3000/catalogue/components/aws-waf.md) `aws-waf` — aws
- [AWS WAF Classic](https://localhost:3000/catalogue/components/aws-waf-classic.md) `aws-waf-classic` — aws
- [Azure Web Application Firewall](https://localhost:3000/catalogue/components/azure-web-application-firewall.md) `azure-web-application-firewall` — azure
- [Firewall for AI](https://localhost:3000/catalogue/components/cloudflare-firewall-for-ai.md) `cloudflare-firewall-for-ai` — cloudflare
- [Cloudflare WAF](https://localhost:3000/catalogue/components/cloudflare-waf.md) `cloudflare-waf` — cloudflare
- [Imperva Application Security](https://localhost:3000/catalogue/components/imperva.md) `imperva` — default
- [ModSecurity](https://localhost:3000/catalogue/components/modsecurity.md) `modsecurity` — default
- [NAXSI](https://localhost:3000/catalogue/components/naxsi.md) `naxsi` — default
- [Generic web application firewall](https://localhost:3000/catalogue/components/waf.md) `waf` — default
- [Google Cloud Armor](https://localhost:3000/catalogue/components/google-cloud-armor.md) `google-cloud-armor` — gcp
- [reCAPTCHA Enterprise](https://localhost:3000/catalogue/components/google-recaptcha-enterprise.md) `google-recaptcha-enterprise` — gcp
- [Web Application Firewall](https://localhost:3000/catalogue/components/oci-waf.md) `oci-waf` — oci

## Use it in a design

```yaml
nodes:
  - { id: "coraza", component: "coraza" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Coraza: Go WAF library with partial ModSecurity SecLang compatibility, embedded as a
# middleware or proxy plugin. Per "Introduction" it ships no rules of its own; the OWASP
# Core Rule Set is loaded separately, so nothing is inspected until rules are supplied.
schemaVersion: "1"
type: "component"
id: "coraza"
kind: "waf"
provider: "default"
docs: "https://coraza.io/docs/tutorials/introduction/"
defaults:
  mode: "off"
  managed: false
  botProtection: false
  rateLimiting: false
properties:
  deployment:
    type: "enum"
    values: ["library", "caddy", "envoy", "nginx", "proxy-wasm"]
    default: "library"
  ruleEngine:
    type: "enum"
    values: ["off", "detection-only", "on"]
    default: "off"
  coreRuleSetInstalled:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/coraza
