turbot/steampipe-mod-azure-compliance

Control: Azure Cognitive Search service should use a SKU that supports private link

Description

With supported SKUs of Azure Cognitive Search, Azure Private Link lets you connect your virtual network to Azure services without a public IP address at the source or destination. The private link platform handles the connectivity between the consumer and services over the Azure backbone network. By mapping private endpoints to your Search service, data leakage risks are reduced.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.search_service_uses_sku_supporting_private_link

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.search_service_uses_sku_supporting_private_link --share

SQL

This control uses a named query:

select
s.id as resource,
case
when sku_name = 'free' then 'alarm'
else 'ok'
end as status,
case
when sku_name = 'free' then s.title || ' SKU does not supports private link.'
else s.title || ' SKU supports private link.'
end as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_search_service as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Tags