mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Adds action ver to the seclang parser
This commit is contained in:
@@ -229,6 +229,7 @@ using ModSecurity::Variables::Variable;
|
||||
%token <std::string> ACTION_MSG
|
||||
%token <std::string> ACTION_TAG
|
||||
%token <std::string> ACTION_REV
|
||||
%token <std::string> ACTION_VER
|
||||
%token <std::string> LOG_DATA
|
||||
%token <std::string> TRANSFORMATION
|
||||
%token <std::string> ACTION_CTL_AUDIT_ENGINE
|
||||
@@ -744,6 +745,10 @@ act:
|
||||
{
|
||||
$$ = new Rev($1);
|
||||
}
|
||||
| ACTION_VER
|
||||
{
|
||||
$$ = Action::instantiate($1);
|
||||
}
|
||||
| ACTION_CTL_BDY_XML
|
||||
{
|
||||
/* not ready yet. */
|
||||
|
Reference in New Issue
Block a user