falco

by joaquinito2051

Helm chartv0.7.6App 0.15.0

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:

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.

ParameterDescriptionDefault
image.registryThe image registry to pull fromdocker.io
image.repositoryThe image repository to pull fromfalcosecurity/falco
image.tagThe image tag to pull0.15.0
image.pullPolicyThe image pull policyIfNotPresent
cri.socketThe path of the CRI socket/run/containerd/containerd.sock
docker.socketThe path of the Docker daemon socket/var/run/docker.sock
resources.requests.cpuCPU requested for being run in a node100m
resources.requests.memoryMemory requested for being run in a node512Mi
resources.limits.cpuCPU limit200m
resources.limits.memoryMemory limit1024Mi
extraArgsSpecify additional container args[]
rbac.createIf true, create & use RBAC resourcestrue
serviceAccount.createCreate serviceAccounttrue
serviceAccount.nameUse this value as serviceAccountName
fakeEventGenerator.enabledRun falco-event-generator for sample eventsfalse
fakeEventGenerator.replicasHow many replicas of falco-event-generator to run1
daemonset.updateStrategy.typeThe updateStrategy for updating the daemonsetRollingUpdate
proxy.httpProxySet the Proxy server if is behind a firewall``
proxy.httpsProxySet the Proxy server if is behind a firewall``
proxy.noProxySet the Proxy server if is behind a firewall``
ebpf.enabledEnable eBPF support for Falco instead of falco-probe kernel modulefalse
ebpf.settings.hostNetworkNeeded to enable eBPF JIT at runtime for performance reasonstrue
ebpf.settings.mountEtcVolumeNeeded to detect which kernel version are running in Google COStrue
falco.rulesFileThe location of the rules files[/etc/falco/falco_rules.yaml, /etc/falco/falco_rules.local.yaml, /etc/falco/rules.d]
falco.jsonOutputOutput events in json or textfalse
falco.jsonIncludeOutputPropertyInclude output property in json outputtrue
falco.logStderrSend Falco debugging information logs to stderrtrue
falco.logSyslogSend Falco debugging information logs to syslogtrue
falco.logLevelThe minimum level of Falco debugging information to include in logsinfo
falco.priorityThe minimum rule priority level to load and rundebug
falco.bufferedOutputsUse buffered outputs to channelsfalse
falco.outputs.rateNumber of tokens gained per second1
falco.outputs.maxBurstMaximum number of tokens outstanding1000
falco.syslogOutput.enabledEnable syslog output for security notificationstrue
falco.fileOutput.enabledEnable file output for security notificationsfalse
falco.fileOutput.keepAliveOpen file once or every time a new notification arrivesfalse
falco.fileOutput.filenameThe filename for logging notifications./events.txt
falco.stdoutOutput.enabledEnable stdout output for security notificationstrue
falco.programOutput.enabledEnable program output for security notificationsfalse
falco.programOutput.keepAliveStart the program once or re-spawn when a notification arrivesfalse
falco.programOutput.programCommand to execute for program outputmail -s "Falco Notification" [email protected]
customRulesThird party rules enabled for Falco{}
integrations.gcscc.enabledEnable Google Cloud Security Command Center integrationfalse
integrations.gcscc.webhookUrlThe URL where sysdig-gcscc-connector webhook is listeninghttp://sysdig-gcscc-connector.default.svc.cluster.local:8080/events
integrations.gcscc.webhookAuthenticationTokenToken used for authentication and webhookb27511f86e911f20b9e0f9c8104b4ec4
integrations.natsOutput.enabledEnable NATS Output integrationfalse
integrations.natsOutput.natsUrlThe NATS' URL where Falco is going to publish security alertsnats://nats.nats-io.svc.cluster.local:4222
integrations.pubsubOutput.credentialsDataContents retrieved from `cat $HOME/.config/gcloud/legacy_credentials//adc.jsonjq -c .`
integrations.pubsubOutput.enabledEnable GCloud PubSub Output Integrationfalse
integrations.pubsubOutput.projectIDGCloud 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfalco is pinned at v0.7.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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