Skip to content

Microsoft Secure Score: one result per improvement action #2511

Open

Description

@merill

Summary

Import Microsoft Secure Score improvement actions as a test family, one result per control, the same way MT.1024 imports Entra recommendations.

Opt-in. Like everything under #2510, this does not run by default; users turn it on explicitly, and any extra permission it needs is only requested then.

Source

  • Graph v1.0 GET /security/secureScores?$top=1 (latest snapshot; controlScores holds each control's current score, implementationStatus and description).
  • Graph v1.0 GET /security/secureScoreControlProfiles (title, maxScore, rank, service, tier, remediation, actionUrl, controlStateUpdates).
  • Permission: SecurityEvents.Read.All (new scope; requested only when the user opts in, not part of the default Connect-Maester scopes).
  • Licence: none extra. Every Microsoft 365 tenant has Secure Score; the set of controls depends on the products the tenant licenses, which Secure Score already handles. Controls for Defender for Endpoint, Identity, Office and Cloud Apps only appear when those are in use.

Behaviour

  • InstanceSource returns one instance per control profile. Suffix = control ID (for example MT.xxxx.AdminMFAV2).
  • Passed when the control's score equals maxScore; Failed when lower, with "x of y points" in the result.
  • Skipped when the latest controlStateUpdates state is Ignored, ThirdParty or Reviewed (risk accepted / alternate mitigation), quoting the reason and who set it.
  • Severity from maxScore and rank (proposal: top-ranked or ≥ 8 points High, 4 to 7 Medium, below 4 Low).
  • Result links to the control in the Defender portal (actionUrl) and includes remediation text.
  • Product and Feature from the control's service (for example MDO → defender, AzureAD → entra).

Out of scope

The headline score and trend live in the report panel issue.


Generated by Claude Code

Activity

  1. added
    enhancement
    new test
    product: microsoft-365
    on Oct 23, 2026
  2. Dfrank77 commented on Nov 2, 2026

    @Dfrank77
    Contributor

    Heads up before I build: secureScoreControlProfiles returns the full catalog (460 controls in my tenant) but only 70 are actually scored. Those come from controlScores in the latest snapshot and add up exactly to the tenant maxScore. Going to build one instance per scored control instead of per profile, so the report doesn't fill with controls that don't apply to the tenant. I'll note the overlap with MT.1024 for the AzureAD controls in the PR. Shout if you want it done differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnew testproduct: microsoft-365

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions