turbot/aws_compliance

Query: redshift_cluster_maintenance_settings_check

Usage

powerpipe query aws_compliance.query.redshift_cluster_maintenance_settings_check

Steampipe Tables

SQL

select
arn as resource,
case
when allow_version_upgrade and automated_snapshot_retention_period >= 7 then 'ok'
else 'alarm'
end as status,
case
when allow_version_upgrade and automated_snapshot_retention_period >= 7 then title || ' has the required maintenance settings.'
else title || ' does not have required maintenance settings.'
end as reason
, region, account_id
from
aws_redshift_cluster;

Controls

The query is being used by the following controls: