mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-12 21:16:33 +00:00
Plugins support (outputs)
The generic events support already handled most of this, with a dedicated formatter factory for plugin sources. Just one missing header include and change the logic slightly for json parsing. Co-authored-by: Leonardo Grasso <me@leonardograsso.com> Co-authored-by: Loris Degioanni <loris@sysdig.com> Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@ limitations under the License.
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
@@ -155,7 +155,7 @@ void falco_outputs::handle_event(gen_event *evt, string &rule, string &source,
|
||||
cmsg.rule = rule;
|
||||
|
||||
string sformat;
|
||||
if(source == "syscall")
|
||||
if(source != "k8s_audit")
|
||||
{
|
||||
if(m_time_format_iso_8601)
|
||||
{
|
||||
|
Reference in New Issue
Block a user