ModSecurity

SecLang web application firewall engine for nginx, Apache and IIS; the rule engine is off until configured.

Provider
default
Category
Security
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
auditLog · component propertyboolean—nofalseinherited
botProtectionboolean—no—▸ false
connector · component propertyenumnginx | apache | iisnonginxinherited
coreRuleSetInstalled · component propertyboolean—nofalseinherited
customRuleCountinteger—no—inherited
managedboolean—nofalse▸ false
managedRuleSetstring—no—inherited
modeenumdetection | prevention | offno—▸ off
rateLimitingboolean—no—▸ false
ruleEngine · component propertyenumoff | detection-only | onnooffinherited
Rules that apply · 0

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.
Use it in a design
nodes:
  - { id: "modsecurity", component: "modsecurity" }
Other Web application firewall products · 13
Source
# 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

The same page as markdown, for an agent: /catalogue/components/modsecurity.md