-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from bunkerity/dev
Remove "order" key from coraza plugin & fix discord and slack
- Loading branch information
Showing
3 changed files
with
78 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,65 @@ | ||
{ | ||
"id": "coraza", | ||
"order": 999, | ||
"name": "Coraza", | ||
"description": "Use Coraza as a library to inspect client request", | ||
"version": "0.1", | ||
"stream":"no", | ||
"settings": { | ||
"USE_CORAZA": { | ||
"context": "multisite", | ||
"default": "no", | ||
"help": "Activate Coraza library", | ||
"id": "use coraza library", | ||
"label": "Coraza", | ||
"regex": "^(no|yes)$", | ||
"type": "check" | ||
}, | ||
"CORAZA_API": { | ||
"context": "global", | ||
"default": "http://bunkerweb-golang-1:8090", | ||
"help": "Address of the CORAZA API.", | ||
"id": "coraza-api", | ||
"label": "Coraza Api", | ||
"regex": "^.*$", | ||
"type": "text" | ||
}, | ||
"USE_OWASP_CRS":{ | ||
"context":"global", | ||
"default":"yes", | ||
"help":"Enable OWASP Core Rule Set.", | ||
"id":"OWASP_coreruleset", | ||
"label":"Coreruleset", | ||
"regex": "^(no|yes)$", | ||
"type": "check" | ||
}, | ||
"CORAZA_SEC_AUDIT_ENGINE": { | ||
"context": "multisite", | ||
"default": "On", | ||
"help": "SecAuditEngine directive of coraza.", | ||
"id": "coraza-sec-audit-engine", | ||
"label": "SecAuditEngine", | ||
"regex": "^(On|RelevantOnly|Off)$", | ||
"type": "select", | ||
"select": ["On", "RelevantOnly", "Off"] | ||
}, | ||
"CORAZA_SEC_RULE_ENGINE": { | ||
"context": "multisite", | ||
"default": "On", | ||
"help": "SecRuleEngine directive of coraza.", | ||
"id": "coraza-sec-rule-engine", | ||
"label": "SecRuleEngine", | ||
"regex": "^(On|DetectionOnly|Off)$", | ||
"type": "select", | ||
"id": "coraza", | ||
"name": "Coraza", | ||
"description": "Use Coraza as a library to inspect client request", | ||
"version": "0.1", | ||
"stream": "no", | ||
"settings": { | ||
"USE_CORAZA": { | ||
"context": "multisite", | ||
"default": "no", | ||
"help": "Activate Coraza library", | ||
"id": "use coraza library", | ||
"label": "Coraza", | ||
"regex": "^(no|yes)$", | ||
"type": "check" | ||
}, | ||
"CORAZA_API": { | ||
"context": "global", | ||
"default": "http://bunkerweb-golang-1:8090", | ||
"help": "Address of the CORAZA API.", | ||
"id": "coraza-api", | ||
"label": "Coraza Api", | ||
"regex": "^.*$", | ||
"type": "text" | ||
}, | ||
"USE_OWASP_CRS": { | ||
"context": "global", | ||
"default": "yes", | ||
"help": "Enable OWASP Core Rule Set.", | ||
"id": "OWASP_coreruleset", | ||
"label": "Coreruleset", | ||
"regex": "^(no|yes)$", | ||
"type": "check" | ||
}, | ||
"CORAZA_SEC_AUDIT_ENGINE": { | ||
"context": "multisite", | ||
"default": "On", | ||
"help": "SecAuditEngine directive of coraza.", | ||
"id": "coraza-sec-audit-engine", | ||
"label": "SecAuditEngine", | ||
"regex": "^(On|RelevantOnly|Off)$", | ||
"type": "select", | ||
"select": ["On", "RelevantOnly", "Off"] | ||
}, | ||
"CORAZA_SEC_RULE_ENGINE": { | ||
"context": "multisite", | ||
"default": "On", | ||
"help": "SecRuleEngine directive of coraza.", | ||
"id": "coraza-sec-rule-engine", | ||
"label": "SecRuleEngine", | ||
"regex": "^(On|DetectionOnly|Off)$", | ||
"type": "select", | ||
"select": ["On", "DetectionOnly", "Off"] | ||
}, | ||
"CORAZA_SEC_AUDIT_LOG_PARTS": { | ||
"context": "multisite", | ||
"default": "ABCFHZ", | ||
"help": "SecAuditLogParts directive of coraza.", | ||
"id": "coraza-sec-audit-log-parts", | ||
"label": "SecAuditLogParts", | ||
"regex": "^A(([B-K])(?!.*\\2))+Z$", | ||
"type": "text" | ||
} | ||
|
||
} | ||
}, | ||
"CORAZA_SEC_AUDIT_LOG_PARTS": { | ||
"context": "multisite", | ||
"default": "ABCFHZ", | ||
"help": "SecAuditLogParts directive of coraza.", | ||
"id": "coraza-sec-audit-log-parts", | ||
"label": "SecAuditLogParts", | ||
"regex": "^A(([B-K])(?!.*\\2))+Z$", | ||
"type": "text" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters