-
Notifications
You must be signed in to change notification settings - Fork 522
{o365.audit},{m365_defender.alert}: Enhance field mappings #12888
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
Conversation
🚀 Benchmarks reportTo see the full report comment with |
packages/o365/changelog.yml
Outdated
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| link: https://github.com/elastic/integrations/pull/1 | |
| link: https://github.com/elastic/integrations/pull/12888 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This keeps happening, I will follow your epb alias from now.
packages/o365/changelog.yml
Outdated
| # 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
match_only_text?
Sadly this is not possible in the m365 case where the text is much longer.
packages/o365/data_stream/audit/_dev/test/pipeline/test-wl-airinvestigation.json
Show resolved
Hide resolved
packages/o365/data_stream/audit/_dev/test/pipeline/test-wl-airinvestigation.json-expected.json
Show resolved
Hide resolved
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - '^(-)?Identity\s(\")?%{DATA:o365audit.NetworkMessageId}(\")?$' | |
| - '^-?Identity\s"?%{DATA:o365audit.NetworkMessageId}"?$' |
packages/o365/data_stream/audit/elasticsearch/ingest_pipeline/default.yml
Show resolved
Hide resolved
efd6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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