turbot/aws_compliance

Query: eks_cluster_with_latest_kubernetes_version

Usage

powerpipe query aws_compliance.query.eks_cluster_with_latest_kubernetes_version

Steampipe Tables

SQL

select
arn as resource,
case
-- eks:oldestVersionSupported (Current oldest supported version is 1.19)
when (version)::decimal >= 1.19 then 'ok'
else 'alarm'
end as status,
case
when (version)::decimal >= 1.19 then title || ' runs on a supported kubernetes version.'
else title || ' does not run on a supported kubernetes version.'
end as reason
, region, account_id
from
aws_eks_cluster;

Controls

The query is being used by the following controls: