turbot/gcp_compliance

Query: kubernetes_cluster_logging_enabled

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_logging_enabled

Steampipe Tables

SQL

select
self_link resource,
case
when logging_service is null or logging_service = 'none' then 'alarm'
else 'ok'
end as status,
case
when logging_service is null or logging_service = 'none' then title || ' logging disabled.'
else title || ' logging enabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: