Skip to content

Commit 685c126

Browse files
committed
o365: add mappings for AdditionalInfo.* and AppAccessContext.*
These fields have been observed in the wild.
1 parent 689b80c commit 685c126

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

packages/o365/_dev/deploy/docker/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ rules:
100100
body: |-
101101
[
102102
{"OriginatingServer": "HE1PR0102MB3228 (15.20.207.17)", "ClientAppId": "", "OrganizationName": "testsiem.onmicrosoft.com", "RecordType": 1, "ObjectId": "testsiem.onmicrosoft.com\\Transport Settings", "Workload": "Exchange", "OrganizationId": "b86ab9d4-fcf1-4b11-8a06-7a8f91b47fbd", "UserId": "NT AUTHORITY\\SYSTEM (Microsoft.Exchange.ServiceHost)", "CreationTime": "2020-02-10T07:37:13", "Parameters": [{"Name": "DomainController", "Value": ""}, {"Name": "Identity", "Value": "testsiem.onmicrosoft.com"}, {"Name": "OrganizationFederatedMailbox", "Value": "FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@testsiem.onmicrosoft.com"}], "UserType": 3, "Version": 1, "ResultStatus": "True", "AppId": "", "ExternalAccess": true, "UserKey": "NT AUTHORITY\\SYSTEM (Microsoft.Exchange.ServiceHost)", "Operation": "Set-TransportConfig", "Id": "ea769bfc-fa67-465c-767a-08d7adfc0b7b"},
103-
{"OrganizationName":"testsiem.onmicrosoft.com","UserKey":"S-1-5-18","MailboxGuid":"26286ffa-073d-45ff-9fe9-539891984d69","Operation":"ModifyFolderPermissions","OrganizationId":"b86ab9d4-fcf1-4b11-8a06-7a8f91b47fbd","ClientIPAddress":"::1","Item":{"Id":"LgAAAACklF6sEsJgSK/ulVd531/WAQCzgXIUnq3lQqXFeCmxHwmHAAAAAAENAAAC","ParentFolder":{"Path":"\\Calendar","MemberRights":"ReadAny, Create, EditOwned, DeleteOwned, EditAny, DeleteAny, Visible, FreeBusySimple, FreeBusyDetailed","MemberSid":"S-1-8-640184314-1174341437-2555636127-1766693009-0","Id":"LgAAAACklF6sEsJgSK/ulVd531/WAQCzgXIUnq3lQqXFeCmxHwmHAAAAAAENAAAC","MemberUpn":"Owner@local","Name":"Calendar"}},"LogonUserSid":"S-1-5-18","OriginatingServer":"AM6PR01MB4535 (15.20.229.32)\n","RecordType":2,"Version":1,"ClientInfoString":"Client=WebServices;Action=ConfigureGroupMailbox","MailboxOwnerUPN":"SIEMTest@testsiem.onmicrosoft.com","MailboxOwnerMasterAccountSid":"S-1-5-10","MailboxOwnerSid":"S-1-5-21-3422892061-1135328251-2670905592-26680073","ResultStatus":"Succeeded","ExternalAccess":true,"LogonType":1,"ClientIP":"::1","Workload":"Exchange","InternalLogonType":1,"UserId":"S-1-5-18","CreationTime":"2020-02-17T17:12:03","Id":"284dfe85-ab53-48ad-0863-08d7b3cc81f7","UserType":2}
103+
{"OrganizationName":"testsiem.onmicrosoft.com","UserKey":"S-1-5-18","MailboxGuid":"26286ffa-073d-45ff-9fe9-539891984d69","Operation":"ModifyFolderPermissions","OrganizationId":"b86ab9d4-fcf1-4b11-8a06-7a8f91b47fbd","ClientIPAddress":"::1","Item":{"Id":"LgAAAACklF6sEsJgSK/ulVd531/WAQCzgXIUnq3lQqXFeCmxHwmHAAAAAAENAAAC","ParentFolder":{"Path":"\\Calendar","MemberRights":"ReadAny, Create, EditOwned, DeleteOwned, EditAny, DeleteAny, Visible, FreeBusySimple, FreeBusyDetailed","MemberSid":"S-1-8-640184314-1174341437-2555636127-1766693009-0","Id":"LgAAAACklF6sEsJgSK/ulVd531/WAQCzgXIUnq3lQqXFeCmxHwmHAAAAAAENAAAC","MemberUpn":"Owner@local","Name":"Calendar"}},"AdditionalInfo":{"EnvironmentName":"Default-ae81357b-84e6-4e54-b02c-db7dddd1e869"},"AppAccessContext":{"ClientAppId":"89118fb4-83bf-46d9-bb84-78cca4c122d5"},"LogonUserSid":"S-1-5-18","OriginatingServer":"AM6PR01MB4535 (15.20.229.32)\n","RecordType":2,"Version":1,"ClientInfoString":"Client=WebServices;Action=ConfigureGroupMailbox","MailboxOwnerUPN":"SIEMTest@testsiem.onmicrosoft.com","MailboxOwnerMasterAccountSid":"S-1-5-10","MailboxOwnerSid":"S-1-5-21-3422892061-1135328251-2670905592-26680073","ResultStatus":"Succeeded","ExternalAccess":true,"LogonType":1,"ClientIP":"::1","Workload":"Exchange","InternalLogonType":1,"UserId":"S-1-5-18","CreationTime":"2020-02-17T17:12:03","Id":"284dfe85-ab53-48ad-0863-08d7b3cc81f7","UserType":2}
104104
]
105105
- path: /api/v1.0/tenant-id/activity/feed/subscriptions/content
106106
methods: [GET]

packages/o365/changelog.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
changes:
44
- description: Add start time fallback for responses that do not include the `startTime` query.
55
type: bugfix
6-
link: https://github.com/elastic/integrations/pull/1
6+
link: https://github.com/elastic/integrations/pull/8374
7+
- description: Add mappings for `o365.audit.AdditionalInfo.*` and `o365.audit.AppAccessContext.*`.
8+
type: bugfix
9+
link: https://github.com/elastic/integrations/pull/8374
710
- version: "1.25.0"
811
changes:
912
- description: Improve 'event.original' check to avoid errors if set.

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
type: keyword
1717
- name: ActorYammerUserId
1818
type: keyword
19+
- name: AdditionalInfo.*
20+
type: object
21+
object_type: keyword
22+
object_type_mapping_type: '*'
1923
- name: AlertEntityId
2024
type: keyword
2125
- name: AlertId
@@ -24,6 +28,10 @@
2428
type: flattened
2529
- name: AlertType
2630
type: keyword
31+
- name: AppAccessContext.*
32+
type: object
33+
object_type: keyword
34+
object_type_mapping_type: '*'
2735
- name: AppId
2836
type: keyword
2937
- name: ApplicationDisplayName

packages/o365/docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,12 @@ An example event for `audit` looks as following:
228228
| o365.audit.ActorIpAddress | | keyword |
229229
| o365.audit.ActorUserId | | keyword |
230230
| o365.audit.ActorYammerUserId | | keyword |
231+
| o365.audit.AdditionalInfo.\* | | object |
231232
| o365.audit.AlertEntityId | | keyword |
232233
| o365.audit.AlertId | | keyword |
233234
| o365.audit.AlertLinks | | flattened |
234235
| o365.audit.AlertType | | keyword |
236+
| o365.audit.AppAccessContext.\* | | object |
235237
| o365.audit.AppId | | keyword |
236238
| o365.audit.ApplicationDisplayName | | keyword |
237239
| o365.audit.ApplicationId | | keyword |

0 commit comments

Comments
 (0)