SecOps - 41036 - Attack Simulation Training is configured and a baseline simulation has been run in the last 12 months - #1494
Open
Sandeep Jha (sandeepjha000) wants to merge 6 commits into
Open
Conversation
… bold formatting in result strings
Copilot started reviewing on behalf of
Sandeep Jha (sandeepjha000)
August 11, 2026 06:12
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new SecOps assessment (41036) to evaluate whether Microsoft Defender for Office 365 Attack Simulation Training is configured and has a completed baseline simulation within the last 12 months, using Microsoft Graph (beta) data and producing a markdown results table.
Changes:
- Introduces
Test-Assessment-41036to query attack simulations and simulation automations, evaluate pass/fail/investigate outcomes, and render report details. - Adds a remediation markdown page for test 41036.
- Extends default Graph scopes to include
AttackSimulation.Read.All.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/powershell/tests/Test-Assessment.41036.ps1 | New assessment test logic + report generation for Attack Simulation Training baseline activity |
| src/powershell/tests/Test-Assessment.41036.md | New remediation guidance and results placeholder for test 41036 |
| src/powershell/public/Get-ZtGraphScope.ps1 | Adds required Graph permission scope for Attack Simulation Training API access |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sandeep Jha (sandeepjha000)
requested a review
from Aleksandar Nikolić (alexandair)
August 18, 2026 07:00
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.
Spec-41036
Issue-1056