Skip to content

Commit 33ac9ec

Browse files
authored
Merge pull request #273588 from halkazwini/fd-data
AFD sensitive data protection
2 parents 725fd66 + 2f9e072 commit 33ac9ec

File tree

6 files changed

+91
-0
lines changed

6 files changed

+91
-0
lines changed

articles/frontdoor/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
href: front-door-url-rewrite.md?pivots=front-door-standard-premium
155155
- name: URL redirect
156156
href: front-door-url-redirect.md?pivots=front-door-standard-premium
157+
- name: Sensitive data protection
158+
href: standard-premium/sensitive-data-protection.md
157159
- name: Understand billing
158160
href: billing.md
159161
- name: Price comparison between tiers
@@ -290,6 +292,8 @@
290292
href: standard-premium/how-to-cache-purge-powershell.md
291293
- name: Azure CLI
292294
href: standard-premium/how-to-cache-purge-cli.md
295+
- name: Protect sensitive data
296+
href: standard-premium/how-to-protect-sensitive-data.md
293297
- name: Compression
294298
href: standard-premium/how-to-compression.md
295299
- name: Blue/Green deployment with Front Door
56.8 KB
Loading
61 KB
Loading
19.8 KB
Loading
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Protect sensitive data in Azure Front Door logs
3+
description: Learn how to protect sensitive data in Azure Front Door logs by using the log scrubbing tool.
4+
author: halkazwini
5+
ms.author: halkazwini
6+
ms.service: frontdoor
7+
ms.topic: how-to #Required; leave this attribute/value as-is.
8+
ms.date: 04/30/2024
9+
10+
#CustomerIntent: As an Azure administrator, I want to use the log scrubbing tool so that I can protect sensitive data in Azure Front Door logs.
11+
---
12+
13+
# Protect sensitive data in Azure Front Door logs
14+
15+
In this article, you learn how to use the log scrubbing tool to protect sensitive data in Azure Front Door logs. For more information about sensitive data protection in Azure Front Door, see [Azure Front Door sensitive data protection](sensitive-data-protection.md).
16+
17+
## Prerequisites
18+
19+
Before you can use the log scrubbing tool, you must have an Azure Front Door Standard or Premium tier profile. For more information, see [Create an Azure Front Door profile](../create-front-door-portal.md).
20+
21+
## Enable log scrubbing to protect sensitive data
22+
23+
24+
1. Go to the Azure Front Door Standard or Premium profile.
25+
26+
1. Under **Settings**, select **Configuration**.
27+
28+
1. Under **Scrub sensitive data from access logs**, select **Manage log scrubbing**.
29+
30+
:::image type="content" source="../media/how-to-protect-sensitive-data/log-scrubbing-disabled.png" alt-text="Screenshot that shows log scrubbing is disabled.":::
31+
32+
1. In **Manage log scrubbing**, select **Enable access log scrubbing** to enable scrubbing.
33+
34+
1. Select the log fields that you want to scrub, then select **Save**.
35+
36+
:::image type="content" source="../media/how-to-protect-sensitive-data/manage-log-scrubbing.png" alt-text="Screenshot that shows log scrubbing fields.":::
37+
38+
1. In the **Configuration** page, you can now see that log scrubbing became **Enabled**.
39+
40+
:::image type="content" source="../media/how-to-protect-sensitive-data/log-scrubbing-enabled.png" alt-text="Screenshot that shows log scrubbing is enabled.":::
41+
42+
To verify your sensitive data protection rules, open the Azure Front Door log and search for `****` in place of the sensitive fields.
43+
44+
## Related content
45+
46+
- [Learn about Azure Front Door sensitive data protection](../create-front-door-portal.md).
47+
- [Learn how to create an Azure Front Door profile](sensitive-data-protection.md).
48+
- [Learn how to migrate Azure Front Door (classic) to Standard/Premium tier](../migrate-tier.md).
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Azure Front Door sensitive data protection
3+
description: Learn about sensitive data protection for logs in Azure Front Door.
4+
author: halkazwini
5+
ms.author: halkazwini
6+
ms.service: frontdoor
7+
ms.topic: concept-article #Required; leave this attribute/value as-is.
8+
ms.date: 04/30/2024
9+
10+
#CustomerIntent: As an Azure administrator, I want to learn about Azure Front Door scrubbing tool so that I can use it to protect sensitive data in Azure Front Door. logs.
11+
---
12+
13+
# Azure Front Door sensitive data protection
14+
15+
The Azure Front Door log scrubbing tool helps you remove sensitive data (for example, personal identifiable information) from your Azure Front Door logs. It works by enabling log scrubbing at Azure Front Door Standard or Premium profile level and selecting the log fields to be scrubbed. Once enabled, the tool scrubs that information from your logs generated under this profile and replaces it with `****`.
16+
17+
Log scrubbing is only supported on Azure Front Door Standard and Premium. If you're using Azure Front Door classic, migrate to Azure Front Door standard or premium to use log scrubbing. For more information, see [About Azure Front Door (classic) to Standard/Premium tier migration](..\tier-migration.md).
18+
19+
## Default log behavior
20+
21+
When Azure Front Door serves a request, Azure Front Door logs the details of the request in clear text. Sensitive data might be included in the request URI (such as passwords), and client IP and socket IP are logged. This data is viewable by anyone with access to the Azure Front Door access logs. To protect customer data, you can set up log scrubbing rules targeting this sensitive data for protection.
22+
23+
## Scrubbing fields
24+
25+
The following fields can be scrubbed from the logs:
26+
27+
| Information | Description | Samples after enablement |
28+
| --- | --- | --- |
29+
| Request URI | RequestUri, OriginUrl | `****` |
30+
| Request IP address | ClientIp, SocketIp | `****` |
31+
| Query string | Querystring in RequestUri and OriginUrl | `https://contoso.com/bar/temp.txt?20240423&q=****&foo=****` |
32+
33+
> [!NOTE]
34+
> When you enable log scrubbing feature, Microsoft still retains IP addresses in its internal logs to support critical security features.
35+
36+
## Next step
37+
38+
> [!div class="nextstepaction"]
39+
> [Protect sensitive data in Azure Front Door logs](how-to-protect-sensitive-data.md)

0 commit comments

Comments
 (0)