mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-10 10:32:23 +00:00
rule(Write below root): use pmatch to check against known root directories
Signed-off-by: kaizhe <derek0405@gmail.com>
This commit is contained in:
parent
a0c189b730
commit
1548ccbc4f
@ -1361,7 +1361,7 @@
|
|||||||
condition: >
|
condition: >
|
||||||
root_dir and evt.dir = < and open_write
|
root_dir and evt.dir = < and open_write
|
||||||
and not fd.name in (known_root_files)
|
and not fd.name in (known_root_files)
|
||||||
and not fd.directory in (known_root_directories)
|
and not fd.directory pmatch (known_root_directories)
|
||||||
and not exe_running_docker_save
|
and not exe_running_docker_save
|
||||||
and not gugent_writing_guestagent_log
|
and not gugent_writing_guestagent_log
|
||||||
and not dse_writing_tmp
|
and not dse_writing_tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user