-
Notifications
You must be signed in to change notification settings - Fork 522
[M365 Defender] Improve response action support in event dataset. #13769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[M365 Defender] Improve response action support in event dataset. #13769
Conversation
packages/m365_defender/data_stream/event/elasticsearch/ingest_pipeline/default.yml
Outdated
Show resolved
Hide resolved
Changes to version numbers, formatting corrections, and fields. Co-authored-by: Dan Kortschak <[email protected]>
|
/test |
|
You'll need to regenerate the pipeline test expectations. For example |
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
A prior commit had set the field `cloud.instance.id'`. This removes the inadvertant single quote from the field name.
|
/test |
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
History
|
|
|
Package m365_defender - 3.4.0 containing this change is available at https://epr.elastic.co/package/m365_defender/3.4.0/ |
…astic#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.




Proposed commit message
This PR copies the value, when present, from
m365_defender.event.device.idtocloud.instance.id. The value will not be copied if the device ID is null orcloud.instance.idis 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:
Presently, any alerts generated from the
m365_defender.eventdataset will not have a response action available. Oncecloud.instance.idis set, it is possible to isolate/release a host via the connector.The alternative/supplemental solution, adding
m365_defender.event.device.idto the constant,microsoft_defender_endpointwould require an update to Kibana, making this a more immediate fix.Checklist
changelog.ymlfile.Related issues