mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds SecRuleEngine state information to the audit logs
This commit is contained in:
@@ -788,6 +788,10 @@ std::string Assay::to_json(int parts) {
|
||||
/* producer > connector */
|
||||
LOGFY_ADD("connector", m_ms->getConnectorInformation().c_str());
|
||||
|
||||
/* producer > engine state */
|
||||
LOGFY_ADD("secrules_engine",
|
||||
Rules::ruleEngineStateString(m_rules->secRuleEngine));
|
||||
|
||||
/* end: producer */
|
||||
yajl_gen_map_close(g);
|
||||
|
||||
|
Reference in New Issue
Block a user