mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-30 21:10:01 +00:00
Use new outputs interface with engine
Use the new outputs interface, that uses the engine to provide a formatter. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
parent
bbbac6203c
commit
0cae713412
@ -1134,14 +1134,15 @@ int falco_init(int argc, char **argv)
|
||||
|
||||
outputs = new falco_outputs();
|
||||
|
||||
outputs->init(config.m_json_output,
|
||||
config.m_json_include_output_property,
|
||||
config.m_json_include_tags_property,
|
||||
config.m_output_timeout,
|
||||
config.m_notifications_rate, config.m_notifications_max_burst,
|
||||
config.m_buffered_outputs,
|
||||
config.m_time_format_iso_8601,
|
||||
hostname);
|
||||
outputs->init(engine,
|
||||
config.m_json_output,
|
||||
config.m_json_include_output_property,
|
||||
config.m_json_include_tags_property,
|
||||
config.m_output_timeout,
|
||||
config.m_notifications_rate, config.m_notifications_max_burst,
|
||||
config.m_buffered_outputs,
|
||||
config.m_time_format_iso_8601,
|
||||
hostname);
|
||||
|
||||
for(auto output : config.m_outputs)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user