mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Setting http response code on the auditlog
This commit is contained in:
@@ -72,6 +72,9 @@ class RuleMessage {
|
||||
std::string log(int props) {
|
||||
return RuleMessage::log(this, props);
|
||||
}
|
||||
std::string log(int props, int responseCode) {
|
||||
return RuleMessage::log(this, props, responseCode);
|
||||
}
|
||||
std::string errorLog() {
|
||||
return RuleMessage::log(this, ClientLogMessageInfo | ErrorLogTailLogMessageInfo);
|
||||
}
|
||||
|
Reference in New Issue
Block a user