feat(microsoft-defender-o365): mvp1 - email focused - collect and match defender for o365 alerts (#470) - #492
Draft
Megafredo wants to merge 3 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced Jul 16, 2026
Draft
Draft
…template (#470) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Parent Issue: #470
User stories
(No explicit user stories were defined in the brainstorm or in Feature issue #307. Reusing the Feature Overview from #470 as the closest equivalent, per user confirmation.)
As part of our phishing simulations, we want to introduce a Microsoft Defender for Office 365 collector capable of retrieving alerts related to injected emails and automatically matching them against the expected injection outcomes.
MVP1 focuses exclusively on email-related events. The goal is to automate the validation of phishing simulations by determining whether an injected email has been detected or blocked by Microsoft Defender for Office 365.
Chunk PRs
CHK.1- Project architecture setup:CHK.2- Define Microsoft Defender for Office 365 business configuration:CHK.3- Setup the collector engine and execution loop:CHK.4- Implement Microsoft Defender API authentication:CHK.5- Register and handle expectation signature types:CHK.6- Retrieve source data from Microsoft Defender for Office 365:CHK.7- Map Microsoft Defender data into OAEVData models:CHK.8- Implement matching logic between expectations and collected data:CHK.9- Generate trace data from matching results:CHK.10- End-to-end validation:Mermaid dependency schema
graph LR CHK1["CHK.1 - Architecture / Blank Collector scaffold (#491)"] CHK2["CHK.2 - DefenderO365Config (#494)"] CHK3["CHK.3 - Base Engine wiring / main loop (#496)"] CHK4["CHK.4 - MSGraphAuthClient / MSAL auth (#498)"] CHK5["CHK.5 - SUPPORTED_SIGNATURES (#500)"] CHK6["CHK.6 - DefenderO365DataFetcher (#502)"] CHK7["CHK.7 - to_oaev_data() (#504)"] CHK8["CHK.8 - Matching integration (#506)"] CHK9["CHK.9 - to_traces_data() (#508)"] CHK10["CHK.10 - End-to-end validation (#510)"] CHK1 --> CHK2 CHK1 --> CHK5 CHK2 --> CHK3 CHK2 --> CHK4 CHK4 --> CHK6 CHK6 --> CHK7 CHK6 --> CHK9 CHK7 --> CHK8 CHK7 --> CHK9 CHK8 --> CHK10 CHK9 --> CHK10 CHK3 --> CHK10Closes #470