Why it matters
An API server reachable from any address can be attacked by anyone with a stolen credential or an exploit, wherever they are.
How to fix it
Restrict the public endpoint to named CIDR ranges, or disable it.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
- Microsoft Azure: the collector does not read this yet, so the check reports not assessed, never a pass.
- Google Cloud: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Amazon Web Services, Microsoft Azure, Google Cloud.
Benchmark controls
- CIS Amazon Elastic Kubernetes Service (EKS) Benchmark 1.5.0, control
5.4.1: Access to the control plane endpoint is restricted - CIS Azure Kubernetes Service (AKS) Benchmark 1.4.0, control
5.4.1: Access to the control plane endpoint is restricted
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- The cluster authorizes with legacy ABAC
Google CloudSeverity: High
cloud.kubernetes.legacy-abac - Control plane audit logging is off
AWS, Azure, Google CloudSeverity: Medium
cloud.kubernetes.no-control-plane-logging - Network policy enforcement is off
AWS, Azure, Google CloudSeverity: Low
cloud.kubernetes.no-network-policy - Workload Identity is not enabled on the cluster
Google CloudSeverity: Medium
cloud.kubernetes.no-workload-identity - Kubernetes API server is publicly reachable
AWS, Azure, Google CloudSeverity: High
cloud.kubernetes.public-api-server - Cluster nodes have public IP addresses
AWS, Azure, Google CloudSeverity: Medium
cloud.kubernetes.public-nodes
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation