turbot/aws_compliance

Query: redshift_cluster_audit_logging_enabled

Usage

powerpipe query aws_compliance.query.redshift_cluster_audit_logging_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when logging_status ->> 'LoggingEnabled' = 'true' then 'ok'
else 'alarm'
end as status,
case
when logging_status ->> 'LoggingEnabled' = 'true' then title || ' logging enabled.'
else title || ' logging disabled.'
end as reason,
region,
account_id
from
aws_redshift_cluster;

Controls

The query is being used by the following controls: