-
Notifications
You must be signed in to change notification settings - Fork 95
Description
k8saudit-gke plugin is not loading for falco security setup in GKE standard cluster. I am using google cloud pub/sub subscription and gcp project in values.yaml.
How to reproduce it
Expected behaviour
Screenshots
I am trying to get gke audit logs using k8saudit-gke plugin. In sidekick UI console, which i am starting using --set run time argument for both sidekick and sidekick UI, I always see only syscall source events. Even when i enabled k8saudit, i see the logs for few items such as privilege pod rule violation among other. I would need help for complete gke audit data here.
Attached are the logs from one of the daemon set pods which is unable to load the k8saudit-gke driver:
kubectl logs falco-87kl8 -n falcotwo
Defaulted container "falco" out of: falco, falcoctl-artifact-follow, falco-driver-loader (init), falcoctl-artifact-install (init)
Wed Oct 1 10:52:50 2025: Falco version: 0.41.3 (x86_64)
Wed Oct 1 10:52:50 2025: Falco initialized with configuration files:
Wed Oct 1 10:52:50 2025: /etc/falco/falco.yaml | schema validation: ok
Wed Oct 1 10:52:50 2025: System info: Linux version 6.6.97+ (builder@705b48dad54d) (Chromium OS 17.0_pre498229-r33 clang version 17.0.0 (/mnt/host/source/src/third_party/llvm-project 14f0776550b5a49e1c42f49a00213f7f3fa047bf), LLD 17.0.0) falcosecurity/falco#1 SMP Fri Aug 22 11:53:37 UTC 2025
Wed Oct 1 10:52:50 2025: Loading plugin 'k8saudit-gke' from file /usr/share/falco/plugins/libk8saudit-gke.so
Wed Oct 1 10:52:50 2025: Loading plugin 'json' from file /usr/share/falco/plugins/libjson.so
Wed Oct 1 10:52:50 2025: Loading plugin 'container' from file /usr/share/falco/plugins/libcontainer.so
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'podman' container engine.
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/run/podman/podman.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'docker' container engine.
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/var/run/docker.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'cri' container engine.
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/run/containerd/containerd.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/run/crio/crio.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/run/k3s/containerd/containerd.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/run/host-containerd/containerd.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'containerd' container engine.
Wed Oct 1 10:52:50 2025: [libs]: container: * enabled container runtime socket at '/host/run/host-containerd/containerd.sock'
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'lxc' container engine.
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'libvirt_lxc' container engine.
Wed Oct 1 10:52:50 2025: [libs]: container: Enabled 'bpm' container engine.
Wed Oct 1 10:52:50 2025: Loading rules from:
Wed Oct 1 10:52:50 2025: /etc/falco/falco_rules.yaml | schema validation: ok
Wed Oct 1 10:52:50 2025: Hostname value has been overridden via environment variable to: gke-sre-wcpg-spot-1-1-node-pool-20230-d753e78d-g7c7
Wed Oct 1 10:52:50 2025: The chosen syscall buffer dimension is: 8388608 bytes (8 MBs)
Wed Oct 1 10:52:50 2025: Starting health webserver with threadiness 8, listening on 0.0.0.0:8765
Wed Oct 1 10:52:50 2025: Loaded event sources: syscall, k8s_audit
Wed Oct 1 10:52:50 2025: Enabled event sources: k8s_audit, syscall
Wed Oct 1 10:52:50 2025: Opening 'k8s_audit' source with plugin 'k8saudit-gke'
Wed Oct 1 10:52:50 2025: [libs]: Trying to open the right engine!
Wed Oct 1 10:52:50 2025: Opening 'syscall' source with BPF probe. BPF probe path: /root/.falco/falco-bpf.o
Wed Oct 1 10:52:50 2025: [libs]: Trying to open the right engine!
Wed Oct 1 10:52:53 2025: An error occurred in an event source, forcing termination...
Syscall event drop monitoring:
- event drop detected: 0 occurrences
- num times actions taken: 0
Events detected: 0
Rule counts by severity:
Triggered rules by rule name:
- Falco version:
v0.41.3 - System info:
- Cloud provider or hardware configuration: Google Cloud
- OS: COS GKE standard
- Kernel:
- Installation method:
via helm
Additional context
Using k8saudit plugin, gke plugin was not loading, so i tried loading k8saudit-gke which is throwing error:
my values.yaml(temp.yaml) file is attached. Please suggest.