Using performLogging function

This commit is contained in:
Felipe Zimmerle
2019-03-12 13:42:06 -03:00
parent a1547eaa32
commit 7e0bc26917
4 changed files with 76 additions and 46 deletions

View File

@@ -79,6 +79,11 @@ class RuleWithActions : public Rule {
int *nth) const;
void performLogging(Transaction *trans,
std::shared_ptr<RuleMessage> ruleMessage,
bool lastLog = true,
bool chainedParentNull = false);
std::vector<actions::Action *> getActionsByName(const std::string& name,
Transaction *t);
bool containsTag(const std::string& name, Transaction *t);
@@ -132,4 +137,4 @@ class RuleWithActions : public Rule {
#endif
#endif // HEADERS_MODSECURITY_RULE_WITH_ACTIONS_H_
#endif // HEADERS_MODSECURITY_RULE_WITH_ACTIONS_H_