turbot/azure_compliance

Query: recovery_service_vault_uses_private_link

Usage

powerpipe query azure_compliance.query.recovery_service_vault_uses_private_link

SQL

select
s.id as resource,
case
when private_endpoint_state_for_site_recovery = 'Enabled' then 'ok'
else 'alarm'
end as status,
case
when private_endpoint_state_for_site_recovery = 'Enabled' then 'Private link for site recovery is enabled.'
else 'Private link for site recovery 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: