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_enabledSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.app_configuration_encryption_enabled --shareSQL
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 subscriptionfrom  azure_app_configuration a  left join azure_subscription sub on a.subscription_id = sub.subscription_id;