mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Fix various minor issues on the auditlog schema
This commit is contained in:
@@ -17,6 +17,7 @@ class Driver;
|
||||
}
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/audit_log.h"
|
||||
#include "actions/set_var.h"
|
||||
#include "actions/severity.h"
|
||||
#include "actions/msg.h"
|
||||
@@ -201,6 +202,7 @@ using ModSecurity::Variables::Variable;
|
||||
%token <std::string> OPERATOR
|
||||
%token <std::string> FREE_TEXT
|
||||
%token <std::string> ACTION
|
||||
%token <std::string> ACTION_AUDIT_LOG
|
||||
%token <std::string> ACTION_SEVERITY
|
||||
%token <std::string> ACTION_SETVAR
|
||||
%token <std::string> ACTION_MSG
|
||||
@@ -619,6 +621,10 @@ act:
|
||||
|
||||
$$ = setVar;
|
||||
}
|
||||
| ACTION_AUDIT_LOG
|
||||
{
|
||||
$$ = new ModSecurity::actions::AuditLog($1);
|
||||
}
|
||||
| LOG_DATA
|
||||
{
|
||||
$$ = new LogData($1);
|
||||
|
Reference in New Issue
Block a user