turbot/azure_insights

Query: sql_server_private_endpoint_connection

Usage

powerpipe query azure_insights.query.sql_server_private_endpoint_connection

Steampipe Tables

SQL

select
c ->> 'PrivateEndpointConnectionName' as "Private Endpoint Connection Name",
c ->> 'PrivateEndpointConnectionType' as "Private Endpoint Connection Type",
c ->> 'PrivateEndpointId' as "Private Endpoint ID",
c ->> 'PrivateLinkServiceConnectionStateActionsRequired' as "Private Link Service Connection State Actions Required",
c ->> 'PrivateLinkServiceConnectionStateDescription' as "Private Link Service Connection State Description",
c ->> 'PrivateLinkServiceConnectionStateStatus' as "Private Link Service Connection State Status",
c ->> 'ProvisioningState' as "Provisioning State",
c ->> 'PrivateEndpointConnectionId' as "Private Endpoint Connection ID"
from
azure_sql_server,
jsonb_array_elements(private_endpoint_connections) as c
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: