What do you monitor in the Kubernetes audit log for security?
AdvancedProductionSecurity Hardening & Compliance
Answer
Creation of ClusterRoleBindings to cluster-admin, exec/attach into Pods, Secret reads outside expected identities, impersonate usage, changes to admission webhooks or PSA labels, anonymous requests that succeeded, system:masters users, and new privileged Pods. Send to the SIEM with detections, and keep logs off-cluster.
More on Security Hardening & Compliance
What is the baseline security checklist for a production cluster?BeginnerWhy should containers run as non-root?BeginnerHow should human access to the cluster be managed?BeginnerWhat is the purpose of image scanning in CI and in the cluster?BeginnerWhy not store secrets in Git or in ConfigMaps?BeginnerWhat is a default-deny NetworkPolicy baseline?Beginner