turbot/azure_compliance

Query: mysql_server_public_network_access_disabled

Usage

powerpipe query azure_compliance.query.mysql_server_public_network_access_disabled

SQL

select
s.id as resource,
case
when public_network_access = 'Enabled' then 'alarm'
else 'ok'
end as status,
case
when public_network_access = 'Enabled' then name || ' public network access enabled.'
else name || ' public network access disabled.'
end as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_mysql_server as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: