turbot/steampipe-mod-azure-compliance

Control: Require encryption on Data Lake Store accounts

Description

This policy ensures encryption is enabled on all Data Lake Store accounts.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.datalake_store_account_encryption_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

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;

Tags