Interview Prep/DevSecOps/DAST, runtime detection and compliance scans

Under peak load, Falco logs `Falco internal: syscall event drop. 18432 system calls dropped in last second.`

AdvancedTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → The ring buffer between the kernel probe and userspace fills up because the syscall rate exceeds what Falco processes. Falco may be CPU-throttled by its limits, or it collects syscalls no rule needs.

Diagnose →

kubectl top pod -n falco
kubectl get ds falco -n falco -o yaml | yq '.spec.template.spec.containers[0].resources'

Enable metrics.enabled: true and watch the drop counters.

Fix → Raise or remove the CPU limit for Falco. Increase engine.modern_ebpf.buf_size_preset. Let Falco collect only the syscalls the loaded rules need (the default base_syscalls.repair: true behaviour), and drop expensive rules you do not use.

Prevent → Alert on drop rate. Attackers can deliberately create syscall noise to blind runtime detection.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans