turbot/azure_compliance

Query: mariadb_server_geo_redundant_backup_enabled

Usage

powerpipe query azure_compliance.query.mariadb_server_geo_redundant_backup_enabled

SQL

select
s.id as resource,
case
when s.geo_redundant_backup_enabled = 'Enabled' then 'ok'
else 'alarm'
end as status,
case
when s.geo_redundant_backup_enabled = 'Enabled' then s.title || ' geo-redundant backup enabled.'
else s.title || ' geo-redundant backup disabled.'
end as reason,
s.resource_group as resource_group,
sub.display_name as subscription
from
azure_mariadb_server as s
join azure_subscription as sub on sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: