Adds action ver to the seclang parser

This commit is contained in:
Felipe Zimmerle
2015-09-09 22:10:45 -03:00
parent 254b29265e
commit 09651baf9a
2 changed files with 9 additions and 1 deletions

View File

@@ -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. */