Control: Azure HDInsight clusters should use encryption in transit to encrypt communication between Azure HDInsight cluster nodes
Description
Data can be tampered with during transmission between Azure HDInsight cluster nodes. Enabling encryption in transit addresses problems of misuse and tampering during this transmission.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.hdinsight_cluster_encryption_in_transit_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.hdinsight_cluster_encryption_in_transit_enabled --share
SQL
This control uses a named query:
select a.id as resource, case when provisioning_state <> 'Succeeded' then 'skip' when encryption_in_transit_properties -> 'isEncryptionInTransitEnabled' = 'true' then 'ok' else 'alarm' end as status, case when provisioning_state <> 'Succeeded' then a.name || ' is in ' || provisioning_state || ' state.' when encryption_in_transit_properties -> 'isEncryptionInTransitEnabled' = 'true' then a.name || ' encryption in transit enabled.' else a.name || ' encryption in transit disabled.' end as reason , a.resource_group as resource_group , sub.display_name as subscriptionfrom azure_hdinsight_cluster as a, azure_subscription as subwhere sub.subscription_id = a.subscription_id;