ModSecurity
Web application firewallmodsecurity
SecLang web application firewall engine for nginx, Apache and IIS; the rule engine is off until configured.
- Provider
- default
- Category
- Security
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| auditLog | boolean | — | no | false | inherited |
| botProtection | boolean | — | no | — | ▸ false |
| connector | enum | nginx | apache | iis | no | nginx | inherited |
| coreRuleSetInstalled | boolean | — | no | false | inherited |
| customRuleCount | integer | — | no | — | 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 |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "modsecurity", component: "modsecurity" }Web Application Firewallalibaba-wafAWS WAF web ACLaws-wafAWS WAF Classicaws-waf-classicAzure Web Application Firewallazure-web-application-firewallFirewall for AIcloudflare-firewall-for-aiCloudflare WAFcloudflare-wafCorazacorazaImperva Application SecurityimpervaNAXSInaxsiGeneric web application firewallwafGoogle Cloud Armorgoogle-cloud-armorreCAPTCHA Enterprisegoogle-recaptcha-enterpriseWeb Application Firewalloci-waf
# yaml-language-server: $schema=../../schema/component.schema.json # ModSecurity (libmodsecurity v3): SecLang WAF engine embedded in a web server. The # Reference Manual gives SecRuleEngine a default of Off, and the OWASP Core Rule Set is # distributed separately and pulled in with Include, so no rules are active out of the box. schemaVersion: "1" type: "component" id: "modsecurity" kind: "waf" provider: "default" docs: "https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-%28v3.x%29" defaults: mode: "off" managed: false botProtection: false rateLimiting: false properties: ruleEngine: type: "enum" values: ["off", "detection-only", "on"] default: "off" connector: type: "enum" values: ["nginx", "apache", "iis"] default: "nginx" coreRuleSetInstalled: type: "boolean" default: false auditLog: type: "boolean" default: false