new(falco): add json_include_message_property option

Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
Luca Guerra
2024-09-06 15:21:12 +00:00
committed by poiana
parent 0f26e3c9ed
commit bc7394b8c3
8 changed files with 99 additions and 44 deletions

View File

@@ -26,7 +26,9 @@ class falco_formats
public:
falco_formats(std::shared_ptr<const falco_engine> engine,
bool json_include_output_property,
bool json_include_tags_property);
bool json_include_tags_property,
bool json_include_message_property,
bool time_format_iso_8601);
virtual ~falco_formats();
std::string format_event(sinsp_evt *evt, const std::string &rule, const std::string &source,
@@ -42,4 +44,6 @@ protected:
std::shared_ptr<const falco_engine> m_falco_engine;
bool m_json_include_output_property;
bool m_json_include_tags_property;
bool m_json_include_message_property;
bool m_time_format_iso_8601;
};