turbot/gcp_compliance

Query: sql_instance_automated_backups_enabled

Usage

powerpipe query gcp_compliance.query.sql_instance_automated_backups_enabled

SQL

select
self_link resource,
case
when backup_enabled then 'ok'
else 'alarm'
end as status,
case
when backup_enabled
then title || ' automatic backups configured.'
else title || ' automatic backups not configured.'
end as reason
, location as location, project as project
from
gcp_sql_database_instance;

Controls

The query is being used by the following controls: