|
1 | 1 | ---
|
2 | 2 | title: Microsoft Defender for Storage - excluding a storage account
|
3 | 3 | 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 |
5 | 5 | ms.topic: how-to
|
6 | 6 | ---
|
7 | 7 | # 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
|
106 | 106 |
|
107 | 107 | ---
|
108 | 108 |
|
109 |
| -
|
110 | 109 | ## Exclude an Azure Databricks Storage account
|
111 | 110 |
|
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. |
113 | 149 |
|
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**: |
115 | 151 |
|
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."::: |
117 | 159 |
|
| 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. |
118 | 163 |
|
119 | 164 | ## Next steps
|
120 | 165 |
|
|
0 commit comments