turbot/aws_insights

Query: eks_cluster_endpoint_public_access_status

Usage

powerpipe query aws_insights.query.eks_cluster_endpoint_public_access_status

Steampipe Tables

SQL

select
endpoint_public_access_status,
count(*)
from (
select resources_vpc_config -> 'EndpointPublicAccess',
case when resources_vpc_config -> 'EndpointPublicAccess' = 'true' then
'enabled'
else
'disabled'
end endpoint_public_access_status
from
aws_eks_cluster) as t
group by
endpoint_public_access_status
order by
endpoint_public_access_status desc;

Dashboards

The query is used in the dashboards: