mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"id": "modsecurity",
|
|
"order": 999,
|
|
"name": "ModSecurity",
|
|
"description": "Management of the ModSecurity WAF.",
|
|
"version": "0.1",
|
|
"settings": {
|
|
"USE_MODSECURITY": {
|
|
"context": "multisite",
|
|
"default": "yes",
|
|
"help": "Enable ModSecurity WAF.",
|
|
"id": "use-modsecurity",
|
|
"label": "Use ModSecurity",
|
|
"regex": "^(yes|no)$",
|
|
"type": "check"
|
|
},
|
|
"USE_MODSECURITY_CRS": {
|
|
"context": "multisite",
|
|
"default": "yes",
|
|
"help": "Enable OWASP Core Rule Set.",
|
|
"id": "use-modsecurity-crs",
|
|
"label": "Use Core Rule Set",
|
|
"regex": "^(yes|no)$",
|
|
"type": "check"
|
|
},
|
|
"MODSECURITY_SEC_AUDIT_ENGINE": {
|
|
"context": "multisite",
|
|
"default": "RelevantOnly",
|
|
"help": "SecAuditEngine directive of ModSecurity.",
|
|
"id": "modsecurity-sec-audit-engine",
|
|
"label": "SecAuditEngine",
|
|
"regex": "^.*$",
|
|
"type": "text"
|
|
},
|
|
"MODSECURITY_SEC_RULE_ENGINE": {
|
|
"context": "multisite",
|
|
"default": "On",
|
|
"help": "SecRuleEngine directive of ModSecurity.",
|
|
"id": "modsecurity-sec-rule-engine",
|
|
"label": "SecRuleEngine",
|
|
"regex": "^(On|DetectionOnly|Off)$",
|
|
"type": "text"
|
|
},
|
|
"MODSECURITY_SEC_AUDIT_LOG_PARTS": {
|
|
"context": "multisite",
|
|
"default": "ABCFHZ",
|
|
"help": "SecAuditLogParts directive of ModSecurity.",
|
|
"id": "modsecurity-sec-audit-log-parts",
|
|
"label": "SecAuditLogParts",
|
|
"regex": "^([A-Z]*)$",
|
|
"type": "text"
|
|
}
|
|
}
|
|
}
|