List of Actionners
Available actionners
The Actionners
define the actions to apply when an event matches a rule, they are named with pattern category:action
.
The category
allows to group actions
and avoid multiple initializations (eg, multi Kubernetes API client, multi AWS clients, …).
Each actionner
is configured with parameters
, a map of values passed to the action. The values can be a string, a list (array) or a map (map[string]string).
Example:
- action: Terminate the pod
actionner: kubernetes:terminate
parameters:
grace_period_seconds: 5
ignore_daemonsets: true
ignore_statefulsets: true
min_healthy_replicas: 33%
- action: Label the pod
actionner: kubernetes:label
parameters:
labels:
suspicious: true
- action: Get logs
actionner: kubernetes:log
output:
target: minio:s3
parameters:
bucket: my-bucket
prefix: /logs/
- action: Run Lambda
actionner: aws:lambda
parameters:
aws_lambda_name: my-function
aws_lambda_alias_or_version: $LATEST
contexts:
- aws
- k8snode
Continue
set by default to false
, this stops the evaluation of the next actions of the rule. It can be overridden.Some actionners
allow to specify which sources to use to inject elements in the context
field of the event payload, before triggering the action. The context of Falco Talon
(the rule name, the action name, the action parameters, etc) are injected anyway.
Some actionners
allow or require to specify a destination for the generated/collected artifacts. See here to know more.
aws
section of the config.yaml to enable this injection.Elements:
aws.instance_profile_arn
aws.instance_profile_id
aws.region
Elements:
node.hostname
node.instancetype
node.role
node.topology.region
node.topology.zone
node.spec.providerid