Skip to content

Commit 3da21fc

Browse files
authored
Merge pull request #187647 from ElazarK/exclude-storage
exclude storage
2 parents 0c1de22 + ec2c207 commit 3da21fc

File tree

5 files changed

+50
-5
lines changed

5 files changed

+50
-5
lines changed

articles/defender-for-cloud/defender-for-storage-exclude.md

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Microsoft Defender for Storage - excluding a storage account
33
description: Excluding a specific storage account from a subscription with Microsoft Defender for Storage enabled.
4-
ms.date: 01/16/2022
4+
ms.date: 02/06/2022
55
ms.topic: how-to
66
---
77
# Exclude a storage account from Microsoft Defender for Storage protections
@@ -106,15 +106,60 @@ To exclude specific storage accounts from Microsoft Defender for Storage when th
106106
107107
---
108108
109-
110109
## Exclude an Azure Databricks Storage account
111110
112-
When Defender for Storage is enabled on a subscription, it's not currently possible to exclude a Storage account if it belongs to an Azure Databricks workspace.
111+
### Exclude an active Databricks workspace
112+
113+
Microsoft Defender for Storage can exclude specific active Databricks workspace storage accounts, when the plan is already enabled on a subscription.
114+
115+
**To exclude an active Databricks workspace**:
116+
117+
1. Sign in to the [Azure portal](https://portal.azure.com).
118+
119+
1. Navigate to **Azure Databricks** > **`Your Databricks workspace`** > **Tags**.
120+
121+
1. In the Name field, enter `AzDefenderPlanAutoEnable`.
122+
123+
1. In the Value field, enter `off`.
124+
125+
1. Select **Apply**.
126+
127+
:::image type="content" source="media/defender-for-storage-exclude/workspace-exclude.png" alt-text="Screenshot showing the location, and how to apply the tag to your Azure Databricks account.":::
128+
129+
1. Navigate to **Microsoft Defender for Cloud** > **Environment settings** > **`Your subscription`**.
130+
131+
1. Toggle the Defender for Storage plan to **Off**.
132+
133+
:::image type="content" source="media/defender-for-storage-exclude/storage-off.png" alt-text="Screenshot showing how to switch the Defender for Storage plan to off.":::
134+
135+
1. Select **Save**.
136+
137+
1. Toggle the Defender for Storage plan to **On**.
138+
139+
1. Select **Save**.
140+
141+
The tags will be inherited by the Storage account of the Databricks workspace and prevent Defender for Storage from turning on.
142+
143+
> [!Note]
144+
> Tags can't be added directly to the Databricks Storage account, or its Managed Resource Group.
145+
146+
### Prevent auto-enabling on a new Databricks workspace storage account
147+
148+
When you create a new Databricks workspace, you have the ability to add a tag that will prevent your Microsoft Defender for Storage account from enabling automatically.
113149
114-
Instead, you can disable Defender for Storage on the subscription and enable Defender for Storage for each Azure Storage account from the **Security** page:
150+
**To prevent auto-enabling on a new Databricks workspace storage account**:
115151
116-
:::image type="content" source="media/defender-for-storage-exclude/defender-plan-enable-resource.png" alt-text="Screenshot of enabling Microsoft Defender for Storage from the security page of an Azure Storage account." lightbox="media/defender-for-storage-exclude/defender-plan-enable-resource.png":::
152+
1. Follow [these steps](/azure/databricks/scenarios/quickstart-create-Databricks-workspace-portal?tabs=azure-portal) to create a new Azure Databricks workspace.
153+
154+
1. In the Tags tab, enter a tag named `AzDefenderPlanAutoEnable`.
155+
156+
1. Enter the value `off`.
157+
158+
:::image type="content" source="media/defender-for-storage-exclude/tag-off.png" alt-text="Screenshot that shows how to create a tag in the Databricks workspace.":::
117159
160+
1. Continue following the instructions to create your new Azure Databricks workspace.
161+
162+
The Microsoft Defender for Storage account will inherit the tag of the Databricks workspace, which will prevent Defender for Storage from turning on automatically.
118163
119164
## Next steps
120165
141 KB
Loading
112 KB
Loading
264 KB
Loading

0 commit comments

Comments
 (0)