-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick #25421 to 7.13: [Filebeat] Allow m365 defender to receive…
… incidents with no alerts (#25486) * [Filebeat] Allow m365 defender to receive incidents with no alerts (#25421) * allowing incidents with no alerts to be parsed, updating some typos and making the pipeline safer in terms of null def references * adding changelog entry * updating local test files * reverting changes to json decoding, back to beat (cherry picked from commit 733b655) * Update CHANGELOG.next.asciidoc
- Loading branch information
Showing
6 changed files
with
75 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
x-pack/filebeat/module/microsoft/m365_defender/test/m365_defender-test-empty.ndjson.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"incidentId":1111,"redirectIncidentId":1107,"incidentName":"Impossible travel activity involving one user","createdTime":"2021-04-12T11:18:28.86Z","lastUpdateTime":"2021-04-12T11:18:30.4033333Z","assignedTo":null,"classification":"Unknown","determination":"NotAvailable","status":"Redirected","severity":"UnSpecified","tags":[],"comments":[],"alerts":[]} |
30 changes: 30 additions & 0 deletions
30
...eat/module/microsoft/m365_defender/test/m365_defender-test-empty.ndjson.log-expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[ | ||
{ | ||
"@timestamp": "2021-04-12T11:18:30.4033333Z", | ||
"cloud.provider": "azure", | ||
"event.category": [ | ||
"host" | ||
], | ||
"event.dataset": "microsoft.m365_defender", | ||
"event.kind": "alert", | ||
"event.module": "microsoft", | ||
"event.timezone": "UTC", | ||
"fileset.name": "m365_defender", | ||
"input.type": "log", | ||
"log.offset": 0, | ||
"message": "Impossible travel activity involving one user", | ||
"microsoft.m365_defender.classification": "Unknown", | ||
"microsoft.m365_defender.determination": "NotAvailable", | ||
"microsoft.m365_defender.incidentId": "1111", | ||
"microsoft.m365_defender.redirectIncidentId": 1107, | ||
"microsoft.m365_defender.status": "Redirected", | ||
"microsoft.m365_defender.tags": [], | ||
"observer.product": "365 Defender", | ||
"observer.vendor": "Microsoft", | ||
"service.type": "microsoft", | ||
"tags": [ | ||
"m365-defender", | ||
"forwarded" | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters