turbot/azure_compliance

Query: apimanagement_service_with_virtual_network

Usage

powerpipe query azure_compliance.query.apimanagement_service_with_virtual_network

SQL

select
a.id as resource,
case
when virtual_network_type != 'None' then 'ok'
else 'alarm'
end as status,
a.name || ' Virtual network is set to ' || virtual_network_type as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_api_management a,
azure_subscription sub;

Controls

The query is being used by the following controls: