mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-15 17:12:14 +03:00
Adds support to m_highlightJSON in RuleMessage class
This variable helds a JSON with information regarding all matches. Only filled when IncludeFullHighlightLog property is set.
This commit is contained in:
@@ -262,7 +262,7 @@ extern "C" {
|
||||
* Notice that the highlight can be calculate post-analisys. Calculate it
|
||||
* during the analisys may delay the analisys process.
|
||||
*
|
||||
*/
|
||||
*/
|
||||
IncludeFullHighlightLogProperty = 4,
|
||||
};
|
||||
|
||||
|
||||
@@ -151,6 +151,7 @@ class RuleMessage {
|
||||
|
||||
std::list<std::string> m_tags;
|
||||
RuleMessageHighlight m_highlight;
|
||||
std::string m_highlightJSON;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user