mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 15:47:25 +00:00
Add k8s.ns.name to output when -k flag passed (#472)
This commit is contained in:
parent
e4e6d8845d
commit
67cde2980d
@ -559,7 +559,7 @@ int falco_init(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
else if(string(optarg) == "k" || string(optarg) == "kubernetes")
|
else if(string(optarg) == "k" || string(optarg) == "kubernetes")
|
||||||
{
|
{
|
||||||
output_format = "k8s.pod=%k8s.pod.name container=%container.id";
|
output_format = "k8s.ns=%k8s.ns.name k8s.pod=%k8s.pod.name container=%container.id";
|
||||||
replace_container_info = true;
|
replace_container_info = true;
|
||||||
}
|
}
|
||||||
else if(string(optarg) == "m" || string(optarg) == "mesos")
|
else if(string(optarg) == "m" || string(optarg) == "mesos")
|
||||||
|
Loading…
Reference in New Issue
Block a user