turbot/azure_compliance

Query: mariadb_server_ssl_enabled

Usage

powerpipe query azure_compliance.query.mariadb_server_ssl_enabled

SQL

select
s.id as resource,
case
when ssl_enforcement = 'Enabled' then 'ok'
else 'alarm'
end as status,
case
when ssl_enforcement = 'Enabled' then name || ' SSL connection enabled.'
else name || ' SSL connection disabled.'
end as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_mariadb_server as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: