Anomalous Bulk Kubernetes Secret Access
Detects a single identity listing or getting Kubernetes Secrets across many namespaces or at unusually high volume in a short window via the API audit log -- a strong indicator of credential harvesting following initial cluster access.
Updated Oct 29, 2026 · Detection Engineering Team
Problem Statement
Kubernetes Secrets routinely hold database credentials, API keys, and TLS private keys for every workload in a cluster. An attacker who gains any identity with broad secret-read RBAC -- common in clusters that haven't tightened default service account permissions -- can harvest the credentials for the entire platform in minutes.
Sample Logs
{"kind":"Event","verb":"list","objectRef":{"resource":"secrets","namespace":"payments"},"user":{"username":"system:serviceaccount:default:debug-sa"},"stageTimestamp":"2026-10-29T21:02:00Z"}{"kind":"Event","verb":"list","objectRef":{"resource":"secrets","namespace":"auth"},"user":{"username":"system:serviceaccount:default:debug-sa"},"stageTimestamp":"2026-10-29T21:02:03Z"}Required Fields
False Positives
- ·Secret synchronization controllers (External Secrets Operator, Sealed Secrets controller) by design
- ·Cluster backup/disaster-recovery jobs performing scheduled full exports
Tuning Guidance
Allowlist known controller service accounts by (namespace, name) rather than excluding the 'secrets' resource broadly, and set the namespace-diversity threshold relative to your cluster's actual namespace count -- 5 namespaces is a reasonable default for a mid-sized multi-tenant cluster but should be tuned down for smaller clusters.