falco
Sysdig Falco
About this chart
Sysdig Falco
Sysdig Falco is a behavioral activity monitor designed to detect anomalous activity in your applications. You can use Falco to monitor run-time security of your Kubernetes applications and internal components.
To know more about Sysdig Falco have a look at:
- Kubernetes security logging with Falco & Fluentd
- Active Kubernetes security with Sysdig Falco, NATS, and kubeless
- Detecting cryptojacking with Sysdig’s Falco
Introduction
This chart adds Falco to all nodes in your cluster using a DaemonSet.
Also provides a Deployment for generating Falco alerts. This is useful for testing purposes.
Installing the Chart
To install the chart with the release name my-release run:
$ helm install --name my-release <helm-repo>/falco
$ helm install --name my-release stable/falco After a few seconds, Falco should be running.
Tip: List all releases using
helm list, a release is a name used to track a specific deployment
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
Tip: Use helm delete --purge my-release to completely remove the release from Helm internal storage
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the Falco chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.registry | The image registry to pull from | docker.io |
image.repository | The image repository to pull from | falcosecurity/falco |
image.tag | The image tag to pull | 0.15.0 |
image.pullPolicy | The image pull policy | IfNotPresent |
cri.socket | The path of the CRI socket | /run/containerd/containerd.sock |
docker.socket | The path of the Docker daemon socket | /var/run/docker.sock |
resources.requests.cpu | CPU requested for being run in a node | 100m |
resources.requests.memory | Memory requested for being run in a node | 512Mi |
resources.limits.cpu | CPU limit | 200m |
resources.limits.memory | Memory limit | 1024Mi |
extraArgs | Specify additional container args | [] |
rbac.create | If true, create & use RBAC resources | true |
serviceAccount.create | Create serviceAccount | true |
serviceAccount.name | Use this value as serviceAccountName | |
fakeEventGenerator.enabled | Run falco-event-generator for sample events | false |
fakeEventGenerator.replicas | How many replicas of falco-event-generator to run | 1 |
daemonset.updateStrategy.type | The updateStrategy for updating the daemonset | RollingUpdate |
proxy.httpProxy | Set the Proxy server if is behind a firewall | `` |
proxy.httpsProxy | Set the Proxy server if is behind a firewall | `` |
proxy.noProxy | Set the Proxy server if is behind a firewall | `` |
ebpf.enabled | Enable eBPF support for Falco instead of falco-probe kernel module | false |
ebpf.settings.hostNetwork | Needed to enable eBPF JIT at runtime for performance reasons | true |
ebpf.settings.mountEtcVolume | Needed to detect which kernel version are running in Google COS | true |
falco.rulesFile | The location of the rules files | [/etc/falco/falco_rules.yaml, /etc/falco/falco_rules.local.yaml, /etc/falco/rules.d] |
falco.jsonOutput | Output events in json or text | false |
falco.jsonIncludeOutputProperty | Include output property in json output | true |
falco.logStderr | Send Falco debugging information logs to stderr | true |
falco.logSyslog | Send Falco debugging information logs to syslog | true |
falco.logLevel | The minimum level of Falco debugging information to include in logs | info |
falco.priority | The minimum rule priority level to load and run | debug |
falco.bufferedOutputs | Use buffered outputs to channels | false |
falco.outputs.rate | Number of tokens gained per second | 1 |
falco.outputs.maxBurst | Maximum number of tokens outstanding | 1000 |
falco.syslogOutput.enabled | Enable syslog output for security notifications | true |
falco.fileOutput.enabled | Enable file output for security notifications | false |
falco.fileOutput.keepAlive | Open file once or every time a new notification arrives | false |
falco.fileOutput.filename | The filename for logging notifications | ./events.txt |
falco.stdoutOutput.enabled | Enable stdout output for security notifications | true |
falco.programOutput.enabled | Enable program output for security notifications | false |
falco.programOutput.keepAlive | Start the program once or re-spawn when a notification arrives | false |
falco.programOutput.program | Command to execute for program output | mail -s "Falco Notification" [email protected] |
customRules | Third party rules enabled for Falco | {} |
integrations.gcscc.enabled | Enable Google Cloud Security Command Center integration | false |
integrations.gcscc.webhookUrl | The URL where sysdig-gcscc-connector webhook is listening | http://sysdig-gcscc-connector.default.svc.cluster.local:8080/events |
integrations.gcscc.webhookAuthenticationToken | Token used for authentication and webhook | b27511f86e911f20b9e0f9c8104b4ec4 |
integrations.natsOutput.enabled | Enable NATS Output integration | false |
integrations.natsOutput.natsUrl | The NATS' URL where Falco is going to publish security alerts | nats://nats.nats-io.svc.cluster.local:4222 |
integrations.pubsubOutput.credentialsData | Contents retrieved from `cat $HOME/.config/gcloud/legacy_credentials//adc.json | jq -c .` |
integrations.pubsubOutput.enabled | Enable GCloud PubSub Output Integration | false |
integrations.pubsubOutput.projectID | GCloud Pr |
Deploy falco with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has falco on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfalco is pinned at v0.7.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply