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
feat(policies): add minimum_engine_version argument to macro and falco rule resources (#366)
* initial changes to introduce argument for to falco_rule and macro resources
* add minimum_engine_version output to data source for falco rule
* update documentation for new argument
condition = "spawned_process and container and shell_procs and proc.tty != 0 and container_entrypoint"
270
+
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)"
Copy file name to clipboardExpand all lines: website/docs/d/secure_rule_falco.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ In addition to the argument above, the following attributes are exported:
40
40
*`priority` - The priority of the Falco rule. It can be: "emergency", "alert", "critical", "error", "warning", "notice", "info" or "debug". By default is "warning".
41
41
*`exceptions` - The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
42
42
*`append` - This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
43
+
*`minimum_engine_version` - This is used to indicate that the rule requires a minimum engine version.
43
44
*`version` - Current version of the resource in Sysdig Secure.
Copy file name to clipboardExpand all lines: website/docs/r/secure_rule_falco.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,11 @@ The following arguments are supported:
66
66
*`priority` - (Optional) The priority of the Falco rule. It can be: "emergency", "alert", "critical", "error", "warning", "notice", "info" or "debug". By default is "warning".
67
67
*`source` - (Optional) The source of the event. It can be either "syscall", "k8s_audit", "aws_cloudtrail", "gcp_auditlog", or "azure_platformlogs". Required if append is false.
68
68
*`exceptions` - (Optional) The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
69
-
*`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.
69
+
*`append` - (Optional) This indicates that the rule being created appends the condition to an existing Sysdig-provided
70
+
rule. By default this is false. Appending to user-created rules is not supported by the API.
71
+
*`minimum_engine_version` - (Optional) This is used to indicate that the rule requires a minimum engine version. This
72
+
can allow you to add rules that would not normally pass validation with older agents in your environment. The rule
73
+
will only be processed by agents that support the minimum_engine_version specified.
0 commit comments