Skip to content

Commit

Permalink
update(userspace/falco): add "internal" source to outputs and proto
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr committed Oct 28, 2020
1 parent 612513f commit 0478ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/falco/falco_outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void falco_outputs::handle_msg(uint64_t ts,
falco_outputs::ctrl_msg cmsg = {};
cmsg.ts = ts;
cmsg.priority = priority;
cmsg.source = "";
cmsg.source = "internal";
cmsg.rule = rule;
cmsg.fields = output_fields;

Expand Down
3 changes: 3 additions & 0 deletions userspace/falco/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ enum source {
k8s_audit = 1;
K8s_audit = 1;
K8S_audit = 1;
INTERNAL = 2;
internal = 2;
Internal = 2;
}

0 comments on commit 0478ec9

Please sign in to comment.