Control: EKS clusters endpoint should restrict public access
Description
Ensure whether Amazon Elastic Kubernetes Service (Amazon EKS) endpoint is not publicly accessible. The rule is complaint if the endpoint is publicly accessible.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.eks_cluster_endpoint_restrict_public_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.eks_cluster_endpoint_restrict_public_access --share
SQL
This control uses a named query:
eks_cluster_endpoint_restrict_public_access