mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 18:54:23 +03:00
Computes auditlog during rules load time
This commit is contained in:
@@ -157,6 +157,12 @@ int Driver::addSecRule(std::unique_ptr<RuleWithActions> r) {
|
||||
firstRule->getChainedParent()->setHasLogAction(
|
||||
firstRule->hasNoLogAction()
|
||||
);
|
||||
firstRule->getChainedParent()->setHasAuditLogAction(
|
||||
firstRule->hasAuditLogAction()
|
||||
);
|
||||
firstRule->getChainedParent()->setHasNoAuditLogAction(
|
||||
firstRule->hasNoAuditLogAction()
|
||||
);
|
||||
firstRule = firstRule->getChainedParent();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user