parser: Adds SecWebAppId not supported note

This commit is contained in:
Felipe Zimmerle
2017-08-16 17:31:59 -03:00
parent 2c4e65f7ee
commit a302538521
5 changed files with 6334 additions and 6234 deletions

View File

@@ -531,6 +531,7 @@ using modsecurity::operators::Operator;
ACTION_VER "Ver"
ACTION_XMLNS "xmlns"
CONFIG_COMPONENT_SIG "CONFIG_COMPONENT_SIG"
CONFIG_SEC_WEB_APP_ID "CONFIG_SEC_WEB_APP_ID"
CONFIG_SEC_SERVER_SIG "CONFIG_SEC_SERVER_SIG"
CONFIG_DIR_AUDIT_DIR "CONFIG_DIR_AUDIT_DIR"
CONFIG_DIR_AUDIT_DIR_MOD "CONFIG_DIR_AUDIT_DIR_MOD"
@@ -1161,6 +1162,11 @@ expression:
{
driver.m_components.push_back($1);
}
| CONFIG_SEC_WEB_APP_ID
{
driver.error(@0, "SecWebAppId is not supported.");
YYERROR;
}
| CONFIG_SEC_SERVER_SIG
{
driver.error(@0, "SecServerSignature is not supported.");