Control: Databricks workspaces should have a customer-managed key configured
Description
Databricks workspaces should have a customer-managed key configured to encrypt data at rest.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.databricks_workspace_cmk_configured
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.databricks_workspace_cmk_configured --share
SQL
This control uses a named query:
select a.id as resource, case when parameters -> 'customerManagedKeyId' is not null then 'ok' else 'alarm' end as status, case when parameters -> 'customerManagedKeyId' is not null then a.name || ' has a customer-managed key configured.' else a.name || ' does not have a customer-managed key configured.' end as reason , a.resource_group as resource_group , sub.display_name as subscriptionfrom azure_databricks_workspace as a, azure_subscription as subwhere sub.subscription_id = a.subscription_id;