turbot/azure_compliance

Query: synapse_workspace_private_link_used

Usage

powerpipe query azure_compliance.query.synapse_workspace_private_link_used

SQL

select
a.id as resource,
case
when private_endpoint_connections @> '[{"privateLinkServiceConnectionStateStatus": "Approved"}]' then 'ok'
else 'alarm'
end as status,
case
when private_endpoint_connections @> '[{"privateLinkServiceConnectionStateStatus": "Approved"}]' then a.name || ' uses private link.'
else a.name || ' not uses private link.'
end as reason,
a.resource_group as resource_group,
sub.display_name as subscription
from
azure_synapse_workspace as a,
azure_subscription as sub
where
sub.subscription_id = a.subscription_id;

Controls

The query is being used by the following controls: