You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
condition = "spawned_process and container and shell_procs and proc.tty != 0 and container_entrypoint"
56
65
output = "A shell was spawned in a container with an attached terminal (user=%%user.name %%container.info shell=%%proc.name parent=%%proc.pname cmdline=%%proc.cmdline terminal=%%proc.tty container_id=%%container.id image=%%container.image.repository)"
condition = "spawned_process and container and shell_procs and proc.tty != 0 and container_entrypoint"
92
+
output = "A shell was spawned in a container with an attached terminal (user=%%user.name %%container.info shell=%%proc.name parent=%%proc.pname cmdline=%%proc.cmdline terminal=%%proc.tty container_id=%%container.id image=%%container.image.repository)"
name = "Terminal shell in container" # Sysdig-provided
94
-
description = ""
95
-
tags = ["shell", "mitre_execution"]
96
-
97
130
condition = "and spawned_process and shell_procs and proc.tty != 0 and container_entrypoint"
98
-
output = "A shell was spawned in a container with an attached terminal (user=%%user.name %%container.info shell=%%proc.name parent=%%proc.pname cmdline=%%proc.cmdline terminal=%%proc.tty container_id=%%container.id image=%%container.image.repository)"
*`name` - (Required) The name of the Secure rule. It must be unique.
36
-
*`description` - (Required) The description of Secure rule.
36
+
*`description` - (Optional) The description of Secure rule. By default is empty.
37
37
*`tags` - (Optional) A list of tags for this rule.
38
38
39
39
- - -
40
40
41
41
### Conditions
42
42
43
43
*`condition` - (Required) A [Falco condition](https://falco.org/docs/rules/) is simply a Boolean predicate on Sysdig events expressed using the Sysdig [filter syntax](http://www.sysdig.org/wiki/sysdig-user-guide/#filtering) and macro terms.
44
-
*`output` - (Required) Add additional information to each Falco notification's output.
45
-
*`priority` - (Required) The priority of the Falco rule. It can be: "emergency", "alert", "critical", "error", "warning", "notice", "informational", "informational" or "debug".
46
-
*`source` - (Required) The source of the event. It can be either "syscall" or "k8s_audit".
44
+
*`output` - (Optional) Add additional information to each Falco notification's output. Required if append is false.
45
+
*`priority` - (Optional) The priority of the Falco rule. It can be: "emergency", "alert", "critical", "error", "warning", "notice", "informational", "informational" or "debug". By default is "warning".
46
+
*`source` - (Optional) The source of the event. It can be either "syscall" or "k8s_audit". Required if append is false.
47
47
*`append` - (Optional) This indicates that the rule being created appends the condition to an existing Sysdig-provided rule. By default this is false. Appending to user-created rules is not supported by the API.
0 commit comments