turbot/azure_compliance

Query: kubernetes_cluster_sku_standard

Usage

powerpipe query azure_compliance.query.kubernetes_cluster_sku_standard

SQL

select
c.id as resource,
case
when sku ->> 'tier' = 'Paid' then 'ok'
else 'alarm'
end as status,
case
when sku ->> 'tier' = 'Paid' then c.name || ' uses standard SKU tier.'
else c.name || ' uses free SKU tier.'
end as reason
, c.resource_group as resource_group
, sub.display_name as subscription
from
azure_kubernetes_cluster c,
azure_subscription sub
where
sub.subscription_id = c.subscription_id;

Controls

The query is being used by the following controls: