Skip to content

Commit

Permalink
update(cli): also add cg / kg container-gvisor / kubernetes-gvisor
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra authored and poiana committed Nov 23, 2022
1 parent dea02f8 commit f08a5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userspace/falco/app_actions/init_falco_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void application::configure_output_format()
output_format = "container=%container.name (id=%container.id)";
replace_container_info = true;
}
else if(m_options.print_additional == "container-gvisor")
else if(m_options.print_additional == "cg" || m_options.print_additional == "container-gvisor")
{
output_format = "container=%container.name (id=%container.id) vpid=%proc.vpid vtid=%thread.vtid";
replace_container_info = true;
Expand All @@ -39,7 +39,7 @@ void application::configure_output_format()
output_format = "k8s.ns=%k8s.ns.name k8s.pod=%k8s.pod.name container=%container.id";
replace_container_info = true;
}
else if(m_options.print_additional == "kubernetes-gvisor")
else if(m_options.print_additional == "kg" || m_options.print_additional == "kubernetes-gvisor")
{
output_format = "k8s.ns=%k8s.ns.name k8s.pod=%k8s.pod.name container=%container.id vpid=%proc.vpid vtid=%thread.vtid";
replace_container_info = true;
Expand Down

0 comments on commit f08a5b4

Please sign in to comment.