mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-20 19:16:40 +03:00
Actions refactoring: now there is a clear definiation on the action name
This commit is contained in:
@@ -32,11 +32,14 @@ namespace actions {
|
||||
|
||||
class Phase : public Action {
|
||||
public:
|
||||
explicit Phase(std::string action);
|
||||
explicit Phase(std::string action) : Action(action, ConfigurationKind),
|
||||
m_secRulesPhase(0),
|
||||
m_phase(0) { }
|
||||
|
||||
bool init(std::string *error) override;
|
||||
bool evaluate(Rule *rule, Transaction *transaction) override;
|
||||
int phase;
|
||||
|
||||
int m_phase;
|
||||
int m_secRulesPhase;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user