-
Notifications
You must be signed in to change notification settings - Fork 442
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
{o365.audit},{m365_defender.alert}: Enhance field mappings #12888
Conversation
…365-m365_defender-new-fields
🚀 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
@@ -1,4 +1,9 @@ | |||
# 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
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/ |
Proposed commit message
Checklist
changelog.yml
file.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