A cloud-native solution that protects workloads across hybrid and multi-cloud environments with threat detection and security recommendations
Hello @Marisa GG,
The behaviour you are observing Defender for Cloud flagging Azure Databricks worker nodes as non-compliant for VM-level NSG recommendations is generally expected due to the nature of Azure Databricks architecture.
Azure Databricks uses service-managed, ephemeral compute infrastructure, where:
- Worker VMs are dynamically created and destroyed.
- Networking is governed by Databricks-managed constructs (e.g., Network Intent Policies, service-managed NSGs) rather than traditional customer-managed VM NSGs.
As a result, Defender for Cloud VM-based recommendations may not accurately reflect the control boundaries for these resources, leading to:
- False-positive/non-actionable non-compliance
- States like “AssessmentNotFound” or “NotApplicable”
This happens due to:
Mismatch between Defender evaluation model and Databricks architecture
- Defender for Cloud networking recommendations are designed for IaaS virtual machines where: NSGs are explicitly attached to NICs/subnets Customers control inbound/outbound rules
- In contrast, Databricks worker nodes: Are not directly customer-managed VMs Are provisioned and governed by the Databricks control plane Use predefined network intent policies instead of user-controlled NSGs
Therefore, Defender applies VM policies to resources that do not expose full policy evaluation signals.
Ephemeral lifecycle of worker nodes
- Worker VMs are: Short-lived and Frequently recycled
- Defender relies on agent-based or configuration-based signals, which may: Not be collected in time Be removed before assessment completes
Platform-managed networking and NSG abstraction. Databricks automatically creates and manages NSGs and required rules.
Recommendations:
1. Treat Databricks worker findings as “platform-managed exceptions”
- These findings are typically non-actionable for customers
- Validate: Whether the resource belongs to a Databricks-managed resource group Whether it is part of worker/driver compute If yes classify as expected / informational
2. Use Defender Exemptions
Where appropriate:
- Create policy exemptions (scoped): Resource group (Databricks-managed RG) Specific recommendations
This is consistent with Defender guidance allowing exemptions for non-applicable resources
3. Shift compliance focus to supported control points
Instead of VM-level NSG compliance, focus on:
a) Workspace-level networking
- VNet injection configuration
- Private endpoints
- Managed VNet vs customer VNet
b) Subnet-level NSG and routing controls
- Validate that required rules exist (Databricks → control plane, storage)
- Ensure no conflicting custom rules override platform policies
c) Network Intent Policy alignment
- Avoid modifying NSGs in a way that conflicts with Databricks requirements
Kindly do let us know if you have any questions or query.