Adds support to the allow action

This commit is contained in:
Felipe Zimmerle
2016-06-30 20:42:30 -03:00
parent e77e4c4c14
commit f72bd587ec
11 changed files with 287 additions and 25 deletions

View File

@@ -73,6 +73,7 @@ class Rules;
class RuleMessage;
namespace actions {
class Action;
enum AllowType : short;
}
namespace RequestBodyProcessor {
class XML;
@@ -310,6 +311,11 @@ class Transaction {
*/
int m_skip_next;
/**
* If allow action was utilized, this variable holds the allow type.
*/
modsecurity::actions::AllowType m_allowType;
/**
* Holds the decode URI. Notice that m_uri holds the raw version
* of the URI.