You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/defender-for-cloud/defender-for-storage-exclude.md
+13-26Lines changed: 13 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,21 @@
1
1
---
2
-
title: Microsoft Defender for Storage - excluding a storage account
3
-
description: Excluding a specific storage account from a subscription with Microsoft Defender for Storage enabled.
4
-
ms.date: 02/06/2022
2
+
title: Exclude storage accounts from Microsoft Defender for Storage
3
+
description: Learn how to exclude specific Azure Storage accounts from Microsoft Defender for Storage protections.
4
+
ms.date: 08/04/2022
5
5
ms.topic: how-to
6
6
ms.author: benmansheim
7
7
author: bmansheim
8
8
---
9
-
# Exclude a storage account from Microsoft Defender for Storage protections
10
-
11
-
> [!CAUTION]
12
-
> Excluding resources from advanced threat protection is not recommended and leaves your cloud workload exposed.
13
-
14
-
When you [enable Microsoft Defender for Storage](../storage/common/azure-defender-storage-configure.md#set-up-microsoft-defender-for-cloud) on a subscription, all existing Azure Storage accounts will be protected and any storage resources added to that subscription in the future will also be automatically protected.
15
9
16
-
If you need to exempt a specific Azure Storage account from this Defender plan, use the instructions on this page.
10
+
# Exclude a storage account from Microsoft Defender for Storage protections
17
11
18
-
> [!TIP]
19
-
> We recommend enabling [Microsoft Defender for Resource Manager](defender-for-resource-manager-introduction.md) for any accounts with unprotected Azure Storage resources. Defender for Resource Manager automatically monitors your organization's resource management operations, whether they're performed through the Azure portal, Azure REST APIs, Azure CLI, or other Azure programmatic clients.
12
+
When you [enable Microsoft Defender for Storage](../storage/common/azure-defender-storage-configure.md#set-up-microsoft-defender-for-cloud) on a subscription, all current and future Azure Storage accounts in that subscription are protected. If you have specific accounts that you want to exclude from the Defender for Storage protections, you can exclude them using the Azure portal, PowerShell, or the Azure CLI.
20
13
14
+
We don't recommend that you exclude storage accounts from Defender for Storage because attackers can use any opening in order to compromise your environment. If you want to optimize your Azure costs and remove storage accounts that you feel are low risk from Defender for Storage, you can use the [Price Estimation Workbook](https://ms.portal.azure.com/#view/Microsoft_Azure_Security/SecurityMenuBlade/~/28) in the Azure portal to evaluate the cost savings.
21
15
22
-
## Exclude a specific storage account
16
+
## Exclude an Azure Storage account
23
17
24
-
To exclude specific storage accounts from Microsoft Defender for Storage when the plan is enabled on a subscription:
18
+
To exclude an Azure Storage account from Microsoft Defender for Storage:
1. In the Name field, enter `AzDefenderPlanAutoEnable`.
124
-
125
116
1. In the Value field, enter `off`.
126
-
127
117
1. Select **Apply**.
128
118
129
119
:::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.":::
130
120
131
121
1. Navigate to **Microsoft Defender for Cloud** > **Environment settings** > **`Your subscription`**.
132
-
133
122
1. Toggle the Defender for Storage plan to **Off**.
134
123
135
124
:::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.":::
136
125
137
126
1. Select **Save**.
138
-
139
127
1. Toggle the Defender for Storage plan to **On**.
140
-
141
128
1. Select **Save**.
142
129
143
130
The tags will be inherited by the Storage account of the Databricks workspace and prevent Defender for Storage from turning on.
144
131
145
-
> [!Note]
132
+
> [!Note]
146
133
> Tags can't be added directly to the Databricks Storage account, or its Managed Resource Group.
147
134
148
135
### Prevent auto-enabling on a new Databricks workspace storage account
@@ -151,11 +138,11 @@ When you create a new Databricks workspace, you have the ability to add a tag th
151
138
152
139
**To prevent auto-enabling on a new Databricks workspace storage account**:
153
140
154
-
1. Follow [these steps](/azure/databricks/scenarios/quickstart-create-Databricks-workspace-portal?tabs=azure-portal) to create a new Azure Databricks workspace.
141
+
1. Follow [these steps](/azure/databricks/scenarios/quickstart-create-Databricks-workspace-portal?tabs=azure-portal) to create a new Azure Databricks workspace.
155
142
156
-
1. In the Tags tab, enter a tag named `AzDefenderPlanAutoEnable`.
143
+
1. In the Tags tab, enter a tag named `AzDefenderPlanAutoEnable`.
157
144
158
-
1. Enter the value `off`.
145
+
1. Enter the value `off`.
159
146
160
147
:::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.":::
0 commit comments