turbot/steampipe-mod-azure-compliance

Control: App Configuration encryption should be enabled

Description

Enabling App Configuration encryption helps protect and safeguard your data to meet your organizational security and compliance commitments.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.app_configuration_encryption_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
a.id as resource,
case
when encryption -> 'keyVaultProperties' ->> 'keyIdentifier' is not null then 'ok'
else 'alarm'
end as status,
case
when encryption -> 'keyVaultProperties' ->> 'keyIdentifier' is not null then a.name || 'encryption enabled.'
else a.name || ' encryption disabled.'
end as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_app_configuration as a,
azure_subscription as sub;

Tags