turbot/aws_compliance

Query: redshift_cluster_automatic_snapshots_min_7_days

Usage

powerpipe query aws_compliance.query.redshift_cluster_automatic_snapshots_min_7_days

Steampipe Tables

SQL

select
arn as resource,
case
when automated_snapshot_retention_period >= 7 then 'ok'
else 'alarm'
end as status,
case
when automated_snapshot_retention_period >= 7 then title || ' automatic snapshots enabled with retention period greater than equals 7 days.'
else title || ' automatic snapshots enabled with retention period less than 7 days.'
end as reason,
region,
account_id
from
aws_redshift_cluster;

Controls

The query is being used by the following controls: