turbot/azure_compliance

Query: app_configuration_encryption_enabled

Usage

powerpipe query azure_compliance.query.app_configuration_encryption_enabled

SQL

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;

Controls

The query is being used by the following controls: