mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 15:47:25 +00:00
rule(macro exe_running_docker_save): add new cmdline
While using Falco, I noticed we were getting many events that were virtually identical to those that were previously filtered out by the `exexe_running_docker_save` macro, but where the `cmdline` was something like `exe /var/run/docker/netns/cc5c7b9bb110 all false`. I believe this is caused by the use of docker-in-docker. Signed-off-by: Nicolas Marier <nmarier@coveo.com>
This commit is contained in:
parent
dbd86234ad
commit
0272b94bb1
@ -861,7 +861,8 @@
|
||||
- macro: exe_running_docker_save
|
||||
condition: >
|
||||
proc.name = "exe"
|
||||
and proc.cmdline contains "/var/lib/docker"
|
||||
and (proc.cmdline contains "/var/lib/docker"
|
||||
or proc.cmdline contains "/var/run/docker")
|
||||
and proc.pname in (dockerd, docker)
|
||||
|
||||
# Ideally we'd have a length check here as well but sysdig
|
||||
|
Loading…
Reference in New Issue
Block a user