turbot/steampipe-mod-azure-compliance

Control: API Management client certificate should be enabled

Description

Ensure API Management client certificate is enabled. This control is non-compliant if API Management client certificate is disabled.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.apimanagement_service_client_certificate_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
a.id as resource,
case
when enable_client_certificate then 'ok'
else 'alarm'
end as status,
case
when enable_client_certificate then a.name || ' client certificate enabled.'
else a.name || ' client certificate disabled.'
end as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_api_management a,
azure_subscription sub;

Tags