Ensure Stackdriver Kubernetes Logging and Monitoring is Enabled – monitoringService Details Send logs and metrics to a remote aggregator to mitigate the risk of local tampering in the event of...
Ensure that Alpha clusters are not used for production workloads Details Alpha clusters are not covered by an SLA and are not production-ready. Rationale: Alpha clusters are designed for early...
Ensure that a minimal audit policy is created Details Kubernetes can audit the details of requests made to the API server. The –audit-policy-file flag must be set for...
Ensure that default service accounts are not actively used. Details The default service account should not be used to ensure that rights granted to applications can be more easily...
Ensure that Service Account Tokens are only mounted where necessary Details Service accounts tokens should not be mounted in pods except where the workload running in the pod explicitly needs...
Ensure that the cluster-admin role is only used where required Details The RBAC role cluster-admin provides wide-ranging powers over the environment and should be used only where and when needed....
Ensure that the CNI in use supports Network Policies Details There are a variety of CNI plugins available for Kubernetes. If the CNI in use does not support Network...
Ensure use of VPC-native clusters Details Create Alias IPs for the node network CIDR range in order to subsequently configure IP-based policies and firewalling for...
Minimize the admission of containers wishing to share the host IPC namespace Details Do not generally permit containers to be run with the hostIPC flag set to true. Rationale: A container running...
Minimize the admission of containers wishing to share the host network namespace Details Do not generally permit containers to be run with the hostNetwork flag set to true. Rationale: A container running...