mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-29 19:23:16 +00:00
put open_read in the beginning of the rule
Signed-off-by: Hi120ki <12624257+hi120ki@users.noreply.github.com>
This commit is contained in:
parent
36a08aee13
commit
af4524491d
@ -3225,7 +3225,7 @@
|
|||||||
- rule: Read environment variable from /proc files
|
- rule: Read environment variable from /proc files
|
||||||
desc: An attempt to read process environment variables from /proc files
|
desc: An attempt to read process environment variables from /proc files
|
||||||
condition: >
|
condition: >
|
||||||
container and open_read and (fd.name glob /proc/*/environ)
|
open_read and container and (fd.name glob /proc/*/environ)
|
||||||
and not proc.name in (known_binaries_to_read_environment_variables_from_proc_files)
|
and not proc.name in (known_binaries_to_read_environment_variables_from_proc_files)
|
||||||
output: >
|
output: >
|
||||||
Environment variables were retrieved from /proc files (user=%user.name user_loginuid=%user.loginuid program=%proc.name
|
Environment variables were retrieved from /proc files (user=%user.name user_loginuid=%user.loginuid program=%proc.name
|
||||||
|
Loading…
Reference in New Issue
Block a user