Control: RDS DB instance backup should be enabled
Description
The backup feature of AWS RDS creates backups of your databases and transaction logs.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.rds_db_instance_backup_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.rds_db_instance_backup_enabled --share
SQL
This control uses a named query:
select arn as resource, case when backup_retention_period < 1 then 'alarm' else 'ok' end as status, case when backup_retention_period < 1 then title || ' backups not enabled.' else title || ' backups enabled.' end as reason , region, account_idfrom aws_rds_db_instance;