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: defender-xdr/microsoft-xdr-auditing.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Search the audit log for events in Microsoft Defender XDR
3
-
description: Learn about the Microsoft Defender XDR activities that are logged in the Microsoft 365 audit log.
3
+
description: Learn how to use the audit log to search for Microsoft Defender XDR activities to help with investigation.
4
4
ms.service: defender-xdr
5
5
ms.author: diannegali
6
6
author: diannegali
@@ -10,19 +10,21 @@ audience: ITPro
10
10
ms.collection:
11
11
- m365-security
12
12
- tier3
13
-
ms.topic: overview
13
+
ms.topic: concept-article
14
14
ms.date: 01/14/2025
15
15
search.appverid: met150
16
16
appliesto:
17
17
- Microsoft Defender for Endpoint Plan 2
18
18
- Microsoft Defender XDR
19
+
20
+
#customer intent: As a SOC analyst, I want to learn how to use the audit log to search for Microsoft Defender XDR activities to help with investigation.
19
21
---
20
22
21
23
# Search the audit log for events in Microsoft Defender XDR
The audit log can help you investigate specific activities across Microsoft 365 services. In the Microsoft Defender portal, Microsoft Defender XDR and Microsoft Defender for Endpoint activities are audited. Some of the activities audited are:
27
+
The audit log helps you investigate specific activities across Microsoft 365 services. In the Microsoft Defender portal, Microsoft Defender XDR and Microsoft Defender for Endpoint activities are audited. Some of the activities audited are:
26
28
27
29
- Changes to data retention settings
28
30
- Changes to advanced features
@@ -34,27 +36,25 @@ The audit log can help you investigate specific activities across Microsoft 365
34
36
35
37
For a complete list of Microsoft Defender XDR activities that are audited, see [Microsoft Defender XDR activities](#microsoft-defender-xdr-activities) and [Microsoft Defender for Endpoint activities](#microsoft-defender-for-endpoint-activities).
36
38
37
-
## Requirements
39
+
Auditing is automatically turned on for Microsoft Defender XDR. Features that are audited are logged in the audit log automatically. Auditing can also collect audit logs from GCC environments.
40
+
41
+
## Prerequisites
38
42
39
43
To access the audit log, you need to have the **View-Only Audit Logs** or **Audit Logs** role in Exchange Online. By default, those roles are assigned to the Compliance Management and Organization Management role groups.
40
44
41
45
> [!NOTE]
42
46
> Global administrators in Office 365 and Microsoft 365 are automatically added as members of the Organization Management role group in Exchange Online.
43
47
44
-
## Turn on auditing
45
-
46
-
Auditing is automatically turned on for Microsoft Defender XDR. Features that are audited are logged in the audit log automatically. Auditing can also collect audit logs from GCC environments.
47
-
48
48
Microsoft Defender XDR uses the [Microsoft Purview auditing solution](/purview/audit-solutions-overview). Before you can look at the audit data in the Microsoft Defender portal, you need to turn on auditing in the Microsoft Purview compliance portal. For more information, see [Turn auditing on or off](/purview/audit-log-enable-disable).
49
49
50
50
> [!IMPORTANT]
51
-
> Global Administrator is a highly privileged role that should be limited to scenarios when you can't use an existing role. Microsoft recommends that you use roles with the fewest permissions. Using lower permissioned accounts helps improve security for your organization.
51
+
> Global Administrator is a highly privileged role that should be limited to scenarios when you can't use an existing role. Microsoft recommends that you use roles with the fewest permissions. Using accounts with lower permissions helps improve security for your organization.
52
52
53
-
## Using the audit search in Microsoft Defender XDR
53
+
## Using audit search
54
54
55
55
Follow these steps to search the audit log:
56
56
57
-
1.To get audit logs for Microsoft Defender XDR activities, navigate to the [Microsoft Defender portal's Audit page](https://security.microsoft.com/auditlogsearch) or go to the [Purview compliance portal](https://compliance.microsoft.com) and select **Audit**.
57
+
1.Navigate to the [Microsoft Defender portal's Audit page](https://security.microsoft.com/auditlogsearch) or go to the [Purview compliance portal](https://compliance.microsoft.com) and select **Audit**.
58
58
59
59
:::image type="content" source="/defender/media/defender/unified-audit-log-xdr.png" alt-text="Screenshot of the unified audit log page in Microsoft Defender XDR " lightbox="/defender/media/defender/unified-audit-log-xdr.png":::
60
60
@@ -86,7 +86,7 @@ For a list of all events that are logged for user and admin activities in Micros
86
86
-[Response action activities in Defender for Endpoint in the audit log](/purview/audit-log-activities#microsoft-defender-for-endpoint-reponse-actions-activities)
87
87
-[Roles settings activities in Defender for Endpoint in the audit log](/purview/audit-log-activities#microsoft-defender-for-endpoint-roles-settings-activities)
88
88
89
-
## Using a PowerShell script
89
+
## Search for events using a PowerShell script
90
90
91
91
You can use the following PowerShell code snippet to query the Office 365 Management API to retrieve information about Microsoft Defender XDR events:
0 commit comments