Daemonset configurations to get falco output scraped and sent by filebeat.
This exists to provide a concrete example for getting falco and filebeat working together. I took falcosecurity's example daemonset and added the necessary filebeat components.
:; kubectl create -f falco-rbac.yml
:; kubectl create configmap --namespace security-system falco-config --from-file=falco-config
:; kubectl create configmap --namespace security-system falcobeat-config --from-file=falcobeat-config
:; kubectl create -f falco-daemonset-configmap.yml
:; kubectl get pods -A
:; kubectl --namespace security-system logs falco-daemonset-${RANDOM} filebeat
The configurations are examples/templates. You'll want to change the output of your falcobeat.yml
as well as tune Falco's rules in falco-config
.