What you are switching on
Azure Databricks has three settings for regulated workloads. All three are part of the Enhanced Security and Compliance add-on, which is billed as a usage-based upcharge. They are configured per workspace, and the workspace must be on the Premium tier.
| Setting | What it does | Can you turn it off later? |
|---|---|---|
| Enhanced security monitoring (ESM) | Adds a hardened image with file integrity monitoring and antivirus agents on classic compute, and writes their findings to the audit logs | Yes |
| Automatic cluster update (ACU) | Restarts classic compute during a maintenance window so it picks up the latest image | Yes, unless the compliance security profile is on |
| Compliance security profile (CSP) | Enforces a set of controls for standards such as HIPAA or PCI DSS, and turns on ESM and ACU with it | Treat it as permanent (see below) |
Caution
Microsoft describes enabling the compliance security profile, or adding compliance standards, as a permanent change. If the workspace has never processed regulated data, support can disable it. Once it has, the only way out is to delete the workspace and create a new one. Test on a non-production workspace first.
Before you start
- Premium tier. Check with
az databricks workspace show -g <rg> -n <ws> --query sku.name -o tsv. - VM types. With the compliance security profile on, classic compute must use VM instance types that support Azure Virtual Network encryption. Otherwise clusters may fail to start. Look up the supported VM series in the Azure Virtual Network encryption documentation, and compare that list against the node types in your cluster policies, pools and job definitions.
- Upcoming requirement. From 1 June 2027, workspaces using the compliance security profile also need Azure Virtual Network encryption enabled. Add it to the network plan now.
- FIPS standards. For standards that require FIPS, serverless workloads need serverless base environment version 5 or later.
- Cost. The add-on changes the DBU charge. Check the current add-on pricing before you enable it.
See what is currently configured:
az databricks workspace show -g rg-data-prod -n dbw-data-prod \
--query "properties.enhancedSecurityCompliance" -o json
This needs Azure CLI databricks extension 2.57.0 or later (az extension update --name databricks).
Step 1: enable enhanced security monitoring
ESM can be turned off again, so start with it. It also gives you a few days of agent data before you change anything else.
az databricks workspace update -g rg-data-prod -n dbw-data-prod \
--enable-enhanced-security-monitoring
New and restarted classic compute picks up the monitoring image. Settings can take up to six hours to propagate, and running compute keeps the image it started with. To apply the change sooner, restart clusters in a window that suits you.
Step 2: set the maintenance window, then enable automatic cluster update
If you enable ACU before setting a window, it uses the default: the first Sunday of every month at 1:00 AM UTC. Set the window first.
Only account admins can configure the window, from the account console: Workspaces > your workspace > Security and compliance > Automatic cluster update > Configure. Choose:
- Frequency: monthly on a given week (for example "3rd"), or twice monthly ("1st and 3rd" or "2nd and 4th").
- Day and time: pick a time when batch jobs are not running.
- Always restart (optional): restarts compute in every window, even when there is no new image. By default, compute restarts only when an update is available.
Then enable ACU:
az databricks workspace update -g rg-data-prod -n dbw-data-prod \
--enable-automatic-cluster-update
ACU covers classic compute: all-purpose and jobs compute, pools, classic SQL warehouses and legacy Model Serving. It does not cover serverless.
Warning
In the window, ACU restarts running classic compute, and anything running on it is interrupted. That includes long-running streaming jobs and jobs that run all weekend. Before the first window, make sure streaming jobs have retries and checkpoints, that batch jobs are idempotent, and that nothing important is scheduled during the window.
Step 3: enable the compliance security profile
Pick the standards that apply to you. Allowed values are HIPAA, PCI_DSS, HITRUST, IRAP_PROTECTED, UK_CYBER_ESSENTIALS_PLUS, CANADA_PROTECTED_B and NONE. Use NONE if you want the hardening without claiming a specific standard.
az databricks workspace update -g rg-data-prod -n dbw-data-prod \
--enable-compliance-security-profile \
--compliance-standards='["HIPAA","PCI_DSS"]'
Run az databricks workspace show again afterwards. complianceSecurityProfile.value, enhancedSecurityMonitoring.value and automaticClusterUpdate.value should all be Enabled.
ARM / Bicep
ARM templates put these settings under properties.enhancedSecurityCompliance. When the profile is enabled, you must also set ESM and ACU to Enabled explicitly:
"enhancedSecurityCompliance": {
"automaticClusterUpdate": { "value": "Enabled" },
"enhancedSecurityMonitoring": { "value": "Enabled" },
"complianceSecurityProfile": {
"value": "Enabled",
"complianceStandards": [ "HIPAA", "PCI_DSS" ]
}
}
Microsoft's sample uses API version 2023-09-15-preview. If you set the profile to Disabled, pass an empty complianceStandards array.
Terraform
resource "azurerm_databricks_workspace" "this" {
# ...name, sku = "premium", network settings
enhanced_security_compliance {
automatic_cluster_update_enabled = true
enhanced_security_monitoring_enabled = true
compliance_security_profile_enabled = true
compliance_security_profile_standards = ["HIPAA", "PCI_DSS"]
}
}
Terraform only accepts HIPAA, PCI_DSS or NONE as standards. Use ARM or the CLI for the others, and add lifecycle { ignore_changes = [...] } so the next Terraform run doesn't try to remove them. Argument names can change between provider versions, so check the docs for your azurerm version.
Step 4: keep clusters on supported VM types
Use a compute policy so nobody can create a cluster on a VM type that won't start. This example limits node types to an allowlist. Replace the values with the series you verified in the prerequisites:
{
"node_type_id": {
"type": "allowlist",
"values": ["Standard_D8ds_v5", "Standard_E8ds_v5", "Standard_E16ds_v5"],
"defaultValue": "Standard_D8ds_v5"
},
"driver_node_type_id": {
"type": "allowlist",
"values": ["Standard_D8ds_v5", "Standard_E8ds_v5", "Standard_E16ds_v5"]
}
}
databricks cluster-policies create --json '{"name":"csp-approved-vms","definition":"<the JSON above, escaped as a string>"}'
Also check pools and job cluster specs. They often hard-code a node_type_id that isn't covered by any policy.
Step 5: verify that monitoring events arrive
ESM findings go to the audit logs under the services capsule8-alerts-dataplane (file integrity) and clamAVScanService-dataplane (antivirus). Check the system table:
SELECT event_time, service_name, action_name, request_params, workspace_id
FROM system.access.audit
WHERE service_name IN ('capsule8-alerts-dataplane', 'clamAVScanService-dataplane')
AND event_date >= date_sub(current_date(), 7)
ORDER BY event_time DESC
LIMIT 100;
If you send diagnostic logs to Log Analytics, add the matching categories to the diagnostic setting. List them with az monitor diagnostic-settings categories list --resource <workspace-id>. Then query the tables:
union isfuzzy=true DatabricksCapsule8Dataplane, DatabricksClamAVScan
| where TimeGenerated > ago(7d)
| summarize events = count() by Type, ActionName, bin(TimeGenerated, 1d)
| order by TimeGenerated desc
Category and table names vary by release, so check the list your workspace actually returns. An event isn't proof of a compromise. Route antivirus detections to the security team's queue and triage them there.
Troubleshooting after enablement
| Symptom | Cause | Fix |
|---|---|---|
| Clusters fail to start right after enabling the profile | VM type doesn't support Azure Virtual Network encryption | Move to a supported series; enforce it with the policy in step 4 |
| Streaming job restarted overnight on a Sunday | ACU maintenance window, default or configured | Move the window; check that retries and checkpoints recover the job cleanly |
| Some AI assistant features are missing | Partner-powered AI features were turned off on a profile workspace | Review that setting with your compliance team; it is on by default with the profile |
terraform apply fails on the standards list | Value not supported by the provider | Set it with the CLI or ARM; ignore the attribute in Terraform |
| No ESM events in Log Analytics | Categories not in the diagnostic setting | Add them; the system table is the fallback |
Prevent it next time
- Decide on the profile before creating a regulated workspace, and set it in the workspace's IaC from day one.
- Add maintenance windows to the change calendar and to on-call handover notes.
- Keep the VM allowlist policy in source control, and review it whenever you adopt a new VM series.
- Alert on any
clamAVScanService-dataplaneevent, and send a weekly summary ofcapsule8-alerts-dataplaneevents to security.
Get the weekly HubDatAI email
One email a week with everything new: posts, learning sessions and videos. Free, no spam, unsubscribe in one click. What you get