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/cosmos-db/dynamic-data-masking.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Dynamic Data Masking (DDM) (Preview)
2
+
title: Dynamic Data Masking (DDM)
3
3
description: Learn how to configure Dynamic Data Masking (DDM) in Azure Cosmos DB to protect sensitive data like personal data and protected health information with policy-based security features.
4
4
author: skhera
5
5
ms.author: skhera
@@ -11,14 +11,10 @@ appliesto:
11
11
- ✅ NoSQL
12
12
---
13
13
14
-
# Dynamic Data Masking in Azure Cosmos DB for NoSQL (preview)
14
+
# Dynamic Data Masking in Azure Cosmos DB for NoSQL
15
15
16
16
This article explains how to configure Dynamic Data Masking on your Azure Cosmos DB account.
17
17
18
-
> [!IMPORTANT]
19
-
> Dynamic Data Masking is in public preview.
20
-
> This feature is provided without a service level agreement.
21
-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
22
18
23
19
## Overview
24
20
@@ -50,6 +46,8 @@ Email | Only the first letter of the username and the domain ending (such as .co
50
46
51
47
Dynamic Data Masking can be configured for an account via the **Features** tab located under the **Settings** navigation pane.
52
48
49
+
:::image type="content" source="media/dynamic-data-masking/features.png" lightbox="media/dynamic-data-masking/features.png" alt-text="Screenshot of a dynamic data masking feature enablement in the Azure portal.":::
50
+
53
51
> [!NOTE]
54
52
> Once Dynamic Data Masking is enabled on an account, it can't be turned off. Enabling this feature could require up to 15 minutes before it's ready in Azure Cosmos DB.
55
53
@@ -179,8 +177,7 @@ In the Azure portal, go to your Azure Cosmos DB account, select **Container**, t
179
177
{
180
178
"path": "/projects/[]/details/technologies"
181
179
}
182
-
],
183
-
"isPolicyEnabled": true
180
+
]
184
181
}
185
182
```
186
183
@@ -296,18 +293,19 @@ Applying masking rules requires extra processing to mask sensitive fields before
296
293
- **Other Scenarios:**
297
294
For queries that don't involve masked columns, Dynamic Data Masking has no effect on compute usage.
298
295
299
-
## Limitations and restrictions
300
-
301
-
1. Dynamic data masking is limited to the NoSQL API in Azure Cosmos DB.
302
-
1. Once data masking is enabled at the account level, it remains active and can't be turned off.
303
-
1. Enabling masking by itself doesn’t add cost, unless a masking policy is applied to a container.
304
-
1. In the MaskSubstring strategy, only positive start positions are allowed. Reverse indexing isn’t allowed.
305
-
1. Exclude paths can be used only when all paths(/) are included in the policy.
306
-
1. Masking values on specific array indexes isn’t supported.
307
-
1. If either the ID or the Partition Key is masked, the document view in Data Explorer (portal) doesn't work.
308
-
1. Change feed (both Latest and AllVersionsAndDeletes) isn’t available for low-privileged users.
309
-
1. Fabric Mirroring, materialized views, and backups (periodic or continuous) operate on unmasked data.
310
-
1. Complex queries could occasionally expose unmasked data or enable inference of sensitive values. Dynamic Data Masking is intended to minimize data exposure for unauthorized users, not to prevent direct database access, or exhaustive queries.
296
+
## Limitations and considerations
297
+
298
+
1. Dynamic Data Masking is limited to the NoSQL API in Azure Cosmos DB.
299
+
1. Once dynamic data masking is enabled at the account level, it remains active and cannot be turned off. Removing all paths from the masking policy prevents masking from being applied.
300
+
1. Enabling dynamic data masking does not incur additional cost, unless a masking policy is applied to a container.
301
+
1. In the MaskSubstring strategy, only positive start positions are supported. Reverse indexing is not supported.
302
+
1. Excluded paths are supported only when all paths (/) are included in the masking policy.
303
+
1. Masking values on specific array indexes is not supported.
304
+
1. If the ID or the Partition Key is masked, the document view in Data Explorer (portal) is not available.
305
+
1. Change feed (Latest and AllVersionsAndDeletes) is not available for users without unmask permissions.
306
+
1. Materialized views and backups (periodic or continuous) operate on original unmasked data.
307
+
1. Fabric mirroring and Analytical store are not supported by default for accounts with Dynamic Data Masking enabled. To enable these capabilities, contact Microsoft Support.
308
+
1. Complex queries may expose unmasked data or allow inference of sensitive values. Dynamic Data Masking is designed to minimize data exposure for unauthorized users and is not a substitute for restricting direct database access.
0 commit comments