turbot/aws_compliance

Query: rds_db_instance_backup_retention_period_less_than_7

Usage

powerpipe query aws_compliance.query.rds_db_instance_backup_retention_period_less_than_7

Steampipe Tables

SQL

select
arn as resource,
case
when backup_retention_period < 7 then 'alarm'
else 'ok'
end as status,
title || ' backup retention period set to ' || backup_retention_period || '.' as reason
, region, account_id
from
aws_rds_db_instance;

Controls

The query is being used by the following controls: