turbot/azure_compliance

Query: datalake_store_account_encryption_enabled

Usage

powerpipe query azure_compliance.query.datalake_store_account_encryption_enabled

SQL

select
b.account_id as resource,
case
when encryption_state = 'Enabled' then 'ok'
else 'alarm'
end as status,
case
when encryption_state = 'Enabled' then b.name || ' encryption enabled.'
else b.name || ' encryption disabled.'
end as reason
, b.resource_group as resource_group
, sub.display_name as subscription
from
azure_data_lake_store as b,
azure_subscription as sub
where
sub.subscription_id = b.subscription_id;

Controls

The query is being used by the following controls: