Title
#general
m

Mithya

05/23/2020, 12:00 AM
Has anyone successfully enabled eventing framework through Daemonset? I want to host the osquery agent as a Daemonset but would like to enable process eventing. Auditd won't lauch within the container. How do I open up a netlink socket from the container to the host? Any other approach that would work?
sundsta

sundsta

05/23/2020, 3:43 AM
It would need to run as privileged
n

npamnani

05/25/2020, 10:30 AM
@Mithya, if it is docker container, use --pid=host. Reason is in order to open a netlink socket process has to run in the host pid namespace in other words pid namespace of the process has to be same as pid namespace of the init process