mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Support to JSON stuff on serial logging
This commit is contained in:
committed by
Felipe Zimmerle
parent
2988c5bb07
commit
63bef3d142
@@ -445,6 +445,10 @@ using modsecurity::operators::Operator;
|
||||
SETVAR_OPERATION_EQUALS_MINUS
|
||||
NOT "NOT"
|
||||
|
||||
CONFIG_DIR_AUDIT_LOG_FMT
|
||||
JSON
|
||||
NATIVE
|
||||
|
||||
ACTION_CTL_RULE_ENGINE "ACTION_CTL_RULE_ENGINE"
|
||||
;
|
||||
|
||||
@@ -746,6 +750,16 @@ audit_log:
|
||||
driver.m_auditLog->setFilePath1($1);
|
||||
}
|
||||
|
||||
| CONFIG_DIR_AUDIT_LOG_FMT JSON
|
||||
{
|
||||
driver.m_auditLog->setFormat(modsecurity::audit_log::AuditLog::JSONAuditLogFormat);
|
||||
}
|
||||
|
||||
| CONFIG_DIR_AUDIT_LOG_FMT NATIVE
|
||||
{
|
||||
driver.m_auditLog->setFormat(modsecurity::audit_log::AuditLog::NativeAuditLogFormat);
|
||||
}
|
||||
|
||||
/* SecAuditLogRelevantStatus */
|
||||
| CONFIG_DIR_AUDIT_STS
|
||||
{
|
||||
|
Reference in New Issue
Block a user