You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-23
Original file line number
Diff line number
Diff line change
@@ -29,42 +29,39 @@ These values control Coraza.
29
29
30
30
| Variable | Default | Documentation |
31
31
| - | - | - |
32
-
| CORAZA_ARGUMENTS_LIMIT | Default: `1000`||
32
+
| CORAZA_ARGUMENTS_LIMIT | Default: `1000`|An integer indicating the maximum number of arguments that can be processed before setting the `REQBODY_ERROR` variable |
| CORAZA_AUDIT_LOG | Default: `/dev/stdout`|A string indicating the path to the main audit log file or the concurrent logging index file |
35
+
| CORAZA_AUDIT_LOG_FORMAT | Default: `JSON`|A string indicating the output format of the AuditLogs (Default: `JSON`). Accepted values: `JSON`, `Native`. See [SecAuditLogFormat]()|
36
+
| CORAZA_AUDIT_LOG_PARTS | Default: `'ABIJDEFHZ'`|A string that defines which parts of each transaction are going to be recorded in the audit log (Default: `'ABIJDEFHZ'`). See [SecAuditLogParts]() for the accepted values. |
37
+
| CORAZA_AUDIT_LOG_RELEVANT_STATUS | Default: `"^(?:5\|4[0-9][0-35-9])"`|A regular expression string that defines the http error codes that are relevant for audit logging (Default: `"^(?:5|4(?!04))"`). See [SecAuditLogRelevantStatus]()|
| CORAZA_REQ_BODY_LIMIT | Default: `13107200`|An integer value indicating the maximum request body size accepted for buffering. See [SecRequestBodyLimit]()|
47
+
| CORAZA_REQ_BODY_LIMIT_ACTION | Default: `"Reject"`|A string value for the action when `SecRequestBodyLimit` is reached. Accepted values: `Reject`, `ProcessPartial`. See [SecRequestBodyLimitAction]()|
| CORAZA_RESP_BODY_ACCESS | Default: `"On"`|A string value allowing ModSecurity to access response bodies. Allowed values: `On`, `Off`. See [SecResponseBodyAccess]()|
50
+
| CORAZA_RESP_BODY_LIMIT | Default: `1048576`|An integer value indicating the maximum response body size accepted for buffering. |
51
+
| CORAZA_RESP_BODY_LIMIT_ACTION | Default: `"ProcessPartial"`|A string value for the action when `SecResponseBodyLimit` is reached. Accepted values: `Reject`, `ProcessPartial`. See [SecResponseBodyLimitAction]()|
| CORAZA_RULE_ENGINE | Default: `On`| A string value enabling Coraza itself. Accepted values: `On`, `Off`, `DetectionOnly`. See [SecRuleEngine]()|
54
+
| CORAZA_TAG | Default: `coraza`| A string indicating the default tag action, which will be inherited by the rules in the same configuration context. |
55
+
| CORAZA_TMP_DIR | Default: `/tmp/coraza`| A string indicating the path where temporary files will be created |
59
56
60
57
### CRS Specific
61
58
62
59
| Variable | Default | Documentation |
63
60
| - | - | - |
64
-
| PARANOIA | Default: `1`||
65
-
| ANOMALY_INBOUND | Default: `5`||
66
-
| ANOMALY_OUTBOUND | Default: `4`||
67
-
| BLOCKING_PARANOIA | Default: `1`||
61
+
| PARANOIA | Default: `1`|CRS Paranoia Level setting for logging. It could be different from the BLOCKING level, allowing you to log additional information. |
62
+
| ANOMALY_INBOUND | Default: `5`|The score used by CRS to block incoming requests. |
63
+
| ANOMALY_OUTBOUND | Default: `4`|The score used by CRS to block outgoing requests. |
64
+
| BLOCKING_PARANOIA | Default: `1`|CRS Paranoia Level setting used for blocking |
0 commit comments