Commit eac1431
authored
[M365 Defender] Improve response action support in event dataset. (#13769)
This PR copies the value, when present, from m365_defender.event.device.id
to cloud.instance.id. The value will not be copied if the device ID is null
or cloud.instance.id is already set.
Setting this field addresses one of the solutions in elastic/kibana#218756
The M365 Defender response action is available on alerts with the
following fields:
microsoft_defender_endpoint: [
'm365_defender.alerts.entities.deviceId',
'm365_defender.alerts.devices.mdatpDeviceId',
'm365_defender.incident.alert.evidence.mde_device_id',
'cloud.instance.id',
],
Currently, any alert generated from the m365_defender.event dataset will not
have a response action available. Once cloud.instance.id is set, it is
possible to isolate/release a host via the connector.
The alternative/supplemental solution, adding m365_defender.event.device.id
to the constant, microsoft_defender_endpoint would require an update to
Kibana, making the approach here a more immediate fix.1 parent 1ad4716 commit eac1431
File tree
7 files changed
+301
-3
lines changed- packages/m365_defender
- data_stream/event
- _dev/test/pipeline
- elasticsearch/ingest_pipeline
- fields
- docs
7 files changed
+301
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
267 | 272 | | |
268 | 273 | | |
269 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
270 | 280 | | |
271 | 281 | | |
272 | 282 | | |
| |||
518 | 528 | | |
519 | 529 | | |
520 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
521 | 536 | | |
522 | 537 | | |
523 | 538 | | |
| |||
0 commit comments