Falco floods Slack with `Terminal shell in container` alerts every few minutes, all from the same CI debug job
BeginnerTroubleshootingDAST, runtime detection and compliance scans
Answer
Likely causes → A legitimate tool runs kubectl exec ... sh, or a readiness probe runs a shell. The default rule fires on any interactive shell.
Diagnose → Group the alerts by k8s.ns.name, k8s.pod.name, proc.pname and user.name in Falcosidekick or your SIEM.
Fix → Add a narrow exception in a custom rules file instead of editing the upstream rules:
- rule: Terminal shell in container
exceptions:
- name: ci_debug
fields: [k8s.ns.name, container.image.repository]
values:
- [ci-tools, registry.acme.com/ci/debugger]
override:
exceptions: append
Prevent → Route noisy, low-priority rules to a log index instead of chat. Review exceptions quarterly so the allowlist does not hide real attacks.
More on DAST, runtime detection and compliance scans
The ZAP baseline scan of your React SPA finishes in 40 seconds with only header warnings and no real findingsIntermediateThe authenticated ZAP full scan only ever tests the login page and `/logout`, and the report shows mostly `302` responsesIntermediate`zap-baseline.py` fails the pipeline with exit code 2 even though the report has no high-risk alertsBeginnerThe DAST job reports nothing, and its log shows mostly `403` and `429` responsesBeginnerAn active DAST scan against staging created 12,000 junk records and sent password-reset emails to real customer addresses copied from prodIntermediateNuclei runs in CI against staging and reports nothing for a known exposed `/.git/config`Beginner