Adds support to the msg action

This commit is contained in:
Felipe Zimmerle
2015-08-07 01:48:16 -03:00
parent 5fdb5b7d2e
commit f519717bdf
8 changed files with 188 additions and 2 deletions

View File

@@ -239,6 +239,7 @@ class Assay {
std::unordered_map<std::string, ModSecurityStringVariables *> collections;
void debug(int, std::string);
void serverLog(const std::string& msg);
std::vector<actions::Action *> actions;
bool save_in_auditlog;
@@ -258,6 +259,8 @@ class Assay {
Rules *m_rules;
std::list<std::string> rulesMessages;
private:
std::ofstream myfile;
ModSecurity *m_ms;