mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-31 06:10:45 +00:00
chore(rules): remove redundant condition from root_dir
macro
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
@@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
# This detects writes immediately below / or any write anywhere below /root
|
# This detects writes immediately below / or any write anywhere below /root
|
||||||
- macro: root_dir
|
- macro: root_dir
|
||||||
condition: ((fd.directory=/ or fd.name startswith /root/) and fd.name contains "/")
|
condition: (fd.directory=/ or fd.name startswith /root/)
|
||||||
|
|
||||||
- list: shell_binaries
|
- list: shell_binaries
|
||||||
items: [ash, bash, csh, ksh, sh, tcsh, zsh, dash]
|
items: [ash, bash, csh, ksh, sh, tcsh, zsh, dash]
|
||||||
|
Reference in New Issue
Block a user