update(userspace/falco): add "internal" source to outputs and proto

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso
2020-10-19 17:45:58 +02:00
committed by poiana
parent d3c41c2d97
commit a1bdf3ed61
2 changed files with 4 additions and 1 deletions

View File

@@ -196,7 +196,7 @@ void falco_outputs::handle_msg(uint64_t ts,
falco_outputs::ctrl_msg cmsg = {}; falco_outputs::ctrl_msg cmsg = {};
cmsg.ts = ts; cmsg.ts = ts;
cmsg.priority = priority; cmsg.priority = priority;
cmsg.source = ""; cmsg.source = "internal";
cmsg.rule = rule; cmsg.rule = rule;
cmsg.fields = output_fields; cmsg.fields = output_fields;

View File

@@ -57,4 +57,7 @@ enum source {
k8s_audit = 1; k8s_audit = 1;
K8s_audit = 1; K8s_audit = 1;
K8S_audit = 1; K8S_audit = 1;
INTERNAL = 2;
internal = 2;
Internal = 2;
} }