Repository navigation
[ASIM] Add Microsoft Defender for Office 365 EmailEvent normalization parser - #15373
Open
JamesAde11 wants to merge 4 commits into
Open
JamesAde11 wants to merge 4 commits into
JamesAde11 wants to merge 4 commits into
Conversation
…ization Proposed replacement for PR 15354. Package skill-guided regular and filtering parsers, unifier integration, source catalog, synthetic samples and generated deployment assets. Disclose native hosted-ingestion and tester metadata blockers; no CI/tooling adaptations are bundled. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a87d261-1f21-44f1-818d-2dce48c48b95
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a87d261-1f21-44f1-818d-2dce48c48b95
JamesAde11
requested review from
Ofer Shezaf (oshezaf) and
Derrick Lee (yummyblabla)
October 20, 2026 18:46
Match reference descriptions, assignment spacing, parameter layout, unifier indentation and changelog wording. Regenerate ARM and shorten duplicate README prose. KQL tokens and parser behavior are unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a87d261-1f21-44f1-818d-2dce48c48b95
JamesAde11
marked this pull request as ready for review
October 21, 2026 02:24
| - [ASIM Email Event normalization schema reference](https://aka.ms/ASimEmailEventDoc) No newline at end of file | ||
| - [ASIM Email Event normalization schema reference](https://aka.ms/ASimEmailEventDoc) | ||
|
|
||
| ## Microsoft Defender for Office 365 |
Collaborator
There was a problem hiding this comment.
You can leave this README.md untouched. Remove the changes here.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a87d261-1f21-44f1-818d-2dce48c48b95
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change(s)
Add a query-time ASIM EmailEvent 1.0.0 normalization parser for the native
EmailEventssource table, with regular and filtering variants.Proposed replacement for #15354. These PRs are alternative implementations, not separate additions to merge together. The earlier draft remains open until this replacement is accepted.
The contribution includes:
Type=EmailEvents. No customer email records are redistributed.Development helpers, bespoke tests, local tester/filter-harness adaptations, raw execution evidence and environment configuration are not included.
Reason for Change(s)
Normalize Microsoft Defender for Office 365 delivery records into the common EmailEvent contract so queries can use normalized email fields. This is query-time normalization: the PR does not create a normalized destination table, deploy functions into customer workspaces, or register an installed built-in parser.
The implementation was built afresh from the native source contract and schema requirements following the official ASIM parser creation skills. The skill files were followed directly rather than invoked through a registered skill. The read-only validation adaptations below are explicitly disclosed.
Mapping decisions
EmailDelivery; preserve one output row per source record.TimeGeneratedto event start/end time. Do not substitute a Defender hunting envelope or a later remediation timestamp.Dstand retain native To/Cc arrays.disabled, optional unmapped-field packing and the standard EmailEvent filters, including literal IPv4/IPv6 prefixes.Version Updated
0.1.0.1.0.0to1.0.1.1.0.0.Testing Completed
Actual KQL execution used read-only inline synthetic fixtures in Log Analytics. No source records were ingested and no parser/tester functions were deployed.
Skill adaptations and retained limitations
Eleven missing-recommended-field warnings per variant remain:
DstIpAddr,DvcDomain,DvcHostname,DvcIpAddr,EmailProtocolName,EmailReplyToAddress,EventSeverity,EventUid,SrcDomain,SrcHostnameandSrcUserUpn. Values are not fabricated to silence these warnings.Hosted ingestion compatibility
EmailEvents; the validator catalog'sCustomTablesdirectory does not make it a custom log.EmailEventsas a built-in and skips it. Neither its built-in schema lookup nor custom schema-selection branch runs. The native table reference also lists Ingestion API support as No.sampleDataValidatorselects JSON samples, not this CSV. A green check would not establish CSV ingestion or preservation of native dynamic types.A maintainer-supported hosted validation route is still required. SafeToRun approval alone does not fix this ingestion limitation. No shared CI/tooling changes or custom-table routing workarounds are included.
Checked that the validations are passing and have addressed any issues that are present
The targeted local and engine-executed checks above passed within their stated scope. GitHub checks must be evaluated separately on the final commit. Hosted ASIM tests may require write-capable maintainer
SafeToRunapproval; new commits invalidate earlier approval even if the label remains visible. Skipped checks are not passes.Current representative production-data validation, performance evaluation and deployment validation remain pending. Deployment links target upstream
masterand are not evidence that the new templates are deployable before merge.Review requested
Requested reviewers: Derrick Lee (@yummyblabla) and Ofer Shezaf (@oshezaf).
Please review the field and delivery-action mappings, source compatibility, filtering/exclusion behavior, recipient metadata dependency, documented workflow adaptations and remaining validation requirements.
This is a draft for review.