mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-09 10:39:28 +00:00
rule(Change thread namespace): fix regression test
Signed-off-by: Hiroki Suezawa <suezawa@gmail.com>
This commit is contained in:
@@ -1550,7 +1550,7 @@
|
|||||||
and not proc.name in (user_known_change_thread_namespace_binaries)
|
and not proc.name in (user_known_change_thread_namespace_binaries)
|
||||||
and not proc.name startswith "runc"
|
and not proc.name startswith "runc"
|
||||||
and not proc.cmdline startswith "containerd"
|
and not proc.cmdline startswith "containerd"
|
||||||
and not proc.pname in (sysdigcloud_binaries)
|
and not proc.pname in (sysdigcloud_binaries, hyperkube, kubelet)
|
||||||
and not python_running_sdchecks
|
and not python_running_sdchecks
|
||||||
and not java_running_sdjagent
|
and not java_running_sdjagent
|
||||||
and not kubelet_running_loopback
|
and not kubelet_running_loopback
|
||||||
|
@@ -689,7 +689,7 @@ trace_files: !mux
|
|||||||
- "Non sudo setuid": 1
|
- "Non sudo setuid": 1
|
||||||
- "Create files below dev": 1
|
- "Create files below dev": 1
|
||||||
- "Modify binary dirs": 2
|
- "Modify binary dirs": 2
|
||||||
- "Change thread namespace": 2
|
- "Change thread namespace": 1
|
||||||
|
|
||||||
disabled_tags_a:
|
disabled_tags_a:
|
||||||
detect: True
|
detect: True
|
||||||
|
@@ -26,7 +26,7 @@ traces: !mux
|
|||||||
detect: True
|
detect: True
|
||||||
detect_level: NOTICE
|
detect_level: NOTICE
|
||||||
detect_counts:
|
detect_counts:
|
||||||
- "Change thread namespace": 2
|
- "Change thread namespace": 1
|
||||||
|
|
||||||
container-privileged:
|
container-privileged:
|
||||||
trace_file: traces-positive/container-privileged.scap
|
trace_file: traces-positive/container-privileged.scap
|
||||||
@@ -73,7 +73,7 @@ traces: !mux
|
|||||||
- "Non sudo setuid": 1
|
- "Non sudo setuid": 1
|
||||||
- "Create files below dev": 1
|
- "Create files below dev": 1
|
||||||
- "Modify binary dirs": 2
|
- "Modify binary dirs": 2
|
||||||
- "Change thread namespace": 2
|
- "Change thread namespace": 1
|
||||||
|
|
||||||
mkdir-binary-dirs:
|
mkdir-binary-dirs:
|
||||||
trace_file: traces-positive/mkdir-binary-dirs.scap
|
trace_file: traces-positive/mkdir-binary-dirs.scap
|
||||||
|
Reference in New Issue
Block a user