Skip to content

Epic: Bring Microsoft-native risk signals into Maester #2510

Open
0 of 11 issues completed
Open

Description

@merill

Goal

Microsoft already scores and ranks many risks in its own portals: Secure Score, Defender for Cloud, Defender Vulnerability Management, Entra ID Protection, Exposure Management. An assessor today has to visit each portal. Maester should be able to pull these signals in, based on what the tenant is licensed for, so one Maester run can be the single place to review a tenant's security posture.

Decided

  • Opt-in, not on by default. These sources do not run in a default Invoke-Maester. Users turn them on explicitly (for example as built-in opt-in packs or a config/parameter switch; the exact mechanism is decided during implementation).
  • New permissions are opt-in too. The default scopes in Get-MtGraphScope / Connect-Maester do not change. The extra permissions (SecurityEvents.Read.All for Secure Score; IdentityRiskyUser.Read.All and IdentityRiskyServicePrincipal.Read.All for ID Protection; any Defender for Endpoint API scope) are only requested when the user opts in to the sources that need them.

Principles

  • License-aware. Each source declares the License and Service it needs. A tenant without the licence gets a Skipped result with the reason "not licensed", never a failure.
  • One result per recommendation, using the InstanceSource pattern MT.1024 introduced, so each Microsoft recommendation shows up as its own row with its own severity and remediation link.
  • Status mapping is consistent across sources:
    • Completed / Healthy / score at max → Passed
    • Active / Unhealthy / below max → Failed
    • Not applicable → Skipped (not applicable)
    • Dismissed, risk accepted, resolved by third party or alternate mitigation in the Microsoft portal → Skipped, with the portal's reason, so Maester respects decisions already made there
    • Product not licensed → Skipped (not licensed)
  • Severity comes from the source (Secure Score rank and max score, Defender for Cloud severity or risk level), mapped to Maester's Severity scale.
  • No double counting. Where a Maester check already covers the same control, the report shows one finding and links the two (Map Maester tests to Secure Score controls to avoid double counting #2512).
  • Read-only. Only reader permissions, no changes in the tenant or subscription.

Open questions (decide during implementation)

  • Opt-in mechanism. Built-in opt-in packs (one per source, selected with -Pack), a config setting, or a parameter on Invoke-Maester / Connect-Maester?
  • Volume. Large Azure estates can return thousands of Defender for Cloud assessments. Grouping per recommendation is the starting point; check whether that is enough.

Children

Suggested order: first, then next, then research.

First

Next

Later / research

Already in Maester: Entra recommendations (MT.1024), Defender for Identity health issues (MT.1059), exposure graph checks (xspm suite).

Related discussions: #810, #2189.

Sub-issues

Sub-issues

0 of 11 Issues completed
Loading 11 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstatus: tracked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions