{o365.audit},{m365_defender.alert}: Enhance field mappings - #12888
Conversation
…365-m365_defender-new-fields
🚀 Benchmarks reportTo see the full report comment with |
| changes: | ||
| - description: Extrac ECS fields from Data and AttachmentData. | ||
| type: enhancement | ||
| link: https://github.com/elastic/integrations/pull/1 |
There was a problem hiding this comment.
| link: https://github.com/elastic/integrations/pull/1 | |
| link: https://github.com/elastic/integrations/pull/12888 |
There was a problem hiding this comment.
This keeps happening, I will follow your epb alias from now.
| # newer versions go on top | ||
| - version: "2.10.0" | ||
| changes: | ||
| - description: Extrac ECS fields from Data and AttachmentData. |
There was a problem hiding this comment.
| - description: Extrac ECS fields from Data and AttachmentData. | |
| - description: Extract ECS fields from Data and AttachmentData. |
| - name: Description | ||
| type: keyword |
There was a problem hiding this comment.
match_only_text?
Sadly this is not possible in the m365 case where the text is much longer.
| field: o365audit.Parameters._raw | ||
| if: ctx.o365audit?.NetworkMessageId == null || ctx.o365audit.NetworkMessageId == '' | ||
| patterns: | ||
| - '^(-)?Identity\s(\")?%{DATA:o365audit.NetworkMessageId}(\")?$' |
There was a problem hiding this comment.
| - '^(-)?Identity\s(\")?%{DATA:o365audit.NetworkMessageId}(\")?$' | |
| - '^-?Identity\s"?%{DATA:o365audit.NetworkMessageId}"?$' |
efd6
left a comment
There was a problem hiding this comment.
LGTM after the doc vet passes.
💚 Build Succeeded
History
cc @kcreddy |
|
|
Package m365_defender - 2.23.0 containing this change is available at https://epr.elastic.co/package/m365_defender/2.23.0/ |
|
Package o365 - 2.10.0 containing this change is available at https://epr.elastic.co/package/o365/2.10.0/ |
Extract `email.*` fields from `m365_defender.alert` data-stream. Also derive `source.ip` from `evidence.senderIp` Extract `email.*`, `related.*`, `user.*` fields from `Data` and `Data.Entities` fields inside `o365.audit` data-stream. Other enhancements to `o365.audit`: - Make `AttachmentData` and `AuthDetails` as `nested` to make independent queries. - Add several top-level `o365.audit` fields based on sample events. - Add drop-null processor. - Handle error.message at end of the pipeline.




Proposed commit message
Checklist
changelog.ymlfile.How to test this PR locally
Pipeline tests passes containing new fields:
1. M365 Defender
2. O365
New files added containing new fields:
Related issues