turbot/azure_compliance

Query: recovery_service_vault_uses_private_link_for_backup

Usage

powerpipe query azure_compliance.query.recovery_service_vault_uses_private_link_for_backup

SQL

select
s.id as resource,
case
when private_endpoint_state_for_backup = 'Enabled' then 'ok'
else 'alarm'
end as status,
case
when private_endpoint_state_for_backup = 'Enabled' then 'Private link for backup is enabled.'
else 'Private link for backup is disabled.'
end as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_recovery_services_vault as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: