Repository navigation
Expand file tree
/
Copy pathplugin.json
More file actions
66 lines (66 loc) · 1.93 KB
/
Copy pathplugin.json
File metadata and controls
66 lines (66 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"id": "modsecurity",
"name": "ModSecurity",
"description": "Management of the ModSecurity WAF.",
"version": "1.0",
"stream": "no",
"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_CRS_VERSION": {
"context": "multisite",
"default": "3",
"help": "Version of the OWASP Core Rule Set to use.",
"id": "modsecurity-crs-version",
"label": "Core Rule Set Version",
"regex": "^(3|4)$",
"type": "select",
"select": ["3", "4"]
},
"MODSECURITY_SEC_AUDIT_ENGINE": {
"context": "multisite",
"default": "RelevantOnly",
"help": "SecAuditEngine directive of ModSecurity.",
"id": "modsecurity-sec-audit-engine",
"label": "SecAuditEngine",
"regex": "^(On|RelevantOnly|Off)$",
"type": "select",
"select": ["On", "RelevantOnly", "Off"]
},
"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": "select",
"select": ["On", "DetectionOnly", "Off"]
},
"MODSECURITY_SEC_AUDIT_LOG_PARTS": {
"context": "multisite",
"default": "ABCFHZ",
"help": "SecAuditLogParts directive of ModSecurity.",
"id": "modsecurity-sec-audit-log-parts",
"label": "SecAuditLogParts",
"regex": "^A(([B-K])(?!.*\\2))+Z$",
"type": "text"
}
}
}