turbot/gcp_compliance

Query: kubernetes_cluster_dashboard_disabled

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_dashboard_disabled

Steampipe Tables

SQL

select
self_link resource,
case
when addons_config -> 'KubernetesDashboard' ->> 'disabled' = 'true' then 'ok'
else 'alarm'
end as status,
case
when addons_config -> 'KubernetesDashboard' ->> 'disabled' = 'true' then title || ' dashboard disabled.'
else title || ' dashboard enabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: