Skip to content

Commit a8a8075

Browse files
authored
o365: Add explicit mapping for AuthenticationType field to fix detection rule (#14913)
Detection rule "M365 OneDrive Excessive File Downloads with OAuth Token" fails when the field o365.audit.AuthenticationType is not present in the data. Explicitly add the field as keyword to fix the breaking rule.
1 parent 699c1f9 commit a8a8075

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

packages/o365/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.21.1"
3+
changes:
4+
- description: Add explicit mapping for `AuthenticationType` field to fix detection rule.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/14913
27
- version: "2.21.0"
38
changes:
49
- description: Surface credential or subscription errors in Fleet status.

packages/o365/data_stream/audit/fields/fields.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
type: keyword
8080
- name: Value
8181
type: keyword
82+
- name: AuthenticationType
83+
type: keyword
8284
- name: AzureActiveDirectoryEventType
8385
type: keyword
8486
- name: BCLValue

packages/o365/docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ An example event for `audit` looks as following:
240240
| o365.audit.AttachmentData.SHA256 | | keyword |
241241
| o365.audit.AuthDetails.Name | | keyword |
242242
| o365.audit.AuthDetails.Value | | keyword |
243+
| o365.audit.AuthenticationType | | keyword |
243244
| o365.audit.AzureActiveDirectoryEventType | | keyword |
244245
| o365.audit.BCLValue | | keyword |
245246
| o365.audit.BulkApprovalId | | keyword |

packages/o365/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: o365
22
title: Microsoft Office 365
3-
version: "2.21.0"
3+
version: "2.21.1"
44
description: Collect logs from Microsoft Office 365 with Elastic Agent.
55
type: integration
66
format_version: "3.2.3"

0 commit comments

Comments
 (0)