You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Research: Exposure Management initiatives and metrics API #2520
Microsoft Security Exposure Management groups posture into initiatives (Identity security, Ransomware protection, Business email compromise, Cloud security, …) with a score and metrics per initiative. Discussion #810 asks how Maester compares. Importing initiative scores would show Maester results in the same framing.
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.
Questions
Is there a supported API for initiative and metric scores today? If only the portal has them, track until one ships.
I'll take this one. It overlaps with #2512, which I've picked up, and question 3 lines up with the attack path work I've been doing. I'll post a write-up here covering whether there's a supported API for initiative and metric scores, which metrics map to Maester checks or Secure Score controls, and whether ExposureGraphNodes criticality can be used to raise severity.
Here's the write-up for this one. Everything below comes from my own test tenant, so treat the coverage numbers as one tenant's view, not Microsoft's full catalog.
Is there a supported API for initiative and metric scores?
No. I pulled Graph's $metadata for v1.0 and beta and searched it for initiative, metric, exposure management and exposure score. Nothing came back for initiative or metric scores. The only near hit was criticalAssetManagementClassificationRecord, which is about classification records, not scores. The Exposure Management docs only show these scores in the Defender portal. So per the issue, this is "track until one ships," and there's no follow-up issue.
Which metrics map to Maester checks or Secure Score controls?
Since there's no API, I exported each initiative's recommendation lists and each metric's PDF from the portal. 5 of the 12 domain initiatives have data in my tenant: Identity Security, CIS M365 Foundations Benchmark, Business Email Compromise, SaaS Security and Zero Trust (Foundational). The other 7, including Ransomware Protection and Cloud Security, show no data.
262 unique recommendations. All 262 match a Secure Score control by title (from /security/secureScoreControlProfiles).
84 have a matching Maester test, 18 partly match, 160 have no match. Most of the 160 are third-party SaaS through Defender for Cloud Apps (99, things like Salesforce, ServiceNow, GitHub and Okta's own settings) and Defender for Identity items (45, mostly on-prem AD like ADCS ESC1 to ESC15 and Entra Connect accounts, plus Okta and PingOne privileged accounts).
44 metrics have data. 19 are fully covered by existing Maester tests, 25 are partly covered, and none have zero coverage.
A few examples:
"Users without MFA enabled" has 1 recommendation, covered by CIS.M365.5.2.2.2.
"Non compliant Impersonation Protection controls" has 11. 9 are covered by ORCA tests and 2 partly.
"Missing best practices to ensure effective password hygiene" is mostly on-prem. 5 are covered, 3 partly, 6 not at all.
For #2512: 102 recommendations have both a Maester test (full or partial) and a Secure Score control. MT.1264, which I have open in #2672, reports Secure Score controls, so once it's merged these are the ones that could show up twice. Each row in the mapping file has the Secure Score control ID next to the Maester test ID, so it should work as a starting list.
Can criticality raise the severity of Maester findings?
The data part works. Criticality is readable, and Maester already reads it in Get-MtXspmUnifiedIdentityInfo.
The severity part doesn't work today. On MT.1262 I saw that -Severity on Add-MtTestResultDetail is ignored in a single-result native test, and the writing-tests docs say the same. The xspm tests (MT.1079, MT.1086, MT.1087, MT.1088) pass -Severity that way, so it has no effect there. In a family (InstanceSource), each instance can carry its own Severity, which applies unless the config sets one. So raising severity on critical assets would need those tests to become families.
Limits
One test tenant. Recommendations Microsoft doesn't show for my tenant aren't in here.
Matches are based on reading the test titles, descriptions and some of the test code, not on running each test against each recommendation.
3 metric PDFs list one fewer recommendation than the portal shows (password hygiene 14 of 15, BEC sensitive data 4 of 5, BEC Outlook 16 of 17). I'm not sure why.
Files attached:
2520-metrics.csv: one row per metric with coverage counts
2520-metric-detail.csv: every recommendation in each metric, with its Maester test and Secure Score ID
2520-mapping.csv: all 262 recommendations
Activity
Dfrank77 commentedon Nov 6, 2026
I'll take this one. It overlaps with #2512, which I've picked up, and question 3 lines up with the attack path work I've been doing. I'll post a write-up here covering whether there's a supported API for initiative and metric scores, which metrics map to Maester checks or Secure Score controls, and whether ExposureGraphNodes criticality can be used to raise severity.
Dfrank77 commentedon Nov 6, 2026
Here's the write-up for this one. Everything below comes from my own test tenant, so treat the coverage numbers as one tenant's view, not Microsoft's full catalog.
No. I pulled Graph's $metadata for v1.0 and beta and searched it for initiative, metric, exposure management and exposure score. Nothing came back for initiative or metric scores. The only near hit was criticalAssetManagementClassificationRecord, which is about classification records, not scores. The Exposure Management docs only show these scores in the Defender portal. So per the issue, this is "track until one ships," and there's no follow-up issue.
Since there's no API, I exported each initiative's recommendation lists and each metric's PDF from the portal. 5 of the 12 domain initiatives have data in my tenant: Identity Security, CIS M365 Foundations Benchmark, Business Email Compromise, SaaS Security and Zero Trust (Foundational). The other 7, including Ransomware Protection and Cloud Security, show no data.
262 unique recommendations. All 262 match a Secure Score control by title (from /security/secureScoreControlProfiles).
84 have a matching Maester test, 18 partly match, 160 have no match. Most of the 160 are third-party SaaS through Defender for Cloud Apps (99, things like Salesforce, ServiceNow, GitHub and Okta's own settings) and Defender for Identity items (45, mostly on-prem AD like ADCS ESC1 to ESC15 and Entra Connect accounts, plus Okta and PingOne privileged accounts).
44 metrics have data. 19 are fully covered by existing Maester tests, 25 are partly covered, and none have zero coverage.
A few examples:
"Users without MFA enabled" has 1 recommendation, covered by CIS.M365.5.2.2.2.
"Non compliant Impersonation Protection controls" has 11. 9 are covered by ORCA tests and 2 partly.
"Missing best practices to ensure effective password hygiene" is mostly on-prem. 5 are covered, 3 partly, 6 not at all.
For #2512: 102 recommendations have both a Maester test (full or partial) and a Secure Score control. MT.1264, which I have open in #2672, reports Secure Score controls, so once it's merged these are the ones that could show up twice. Each row in the mapping file has the Secure Score control ID next to the Maester test ID, so it should work as a starting list.
The data part works. Criticality is readable, and Maester already reads it in Get-MtXspmUnifiedIdentityInfo.
The severity part doesn't work today. On MT.1262 I saw that -Severity on Add-MtTestResultDetail is ignored in a single-result native test, and the writing-tests docs say the same. The xspm tests (MT.1079, MT.1086, MT.1087, MT.1088) pass -Severity that way, so it has no effect there. In a family (InstanceSource), each instance can carry its own Severity, which applies unless the config sets one. So raising severity on critical assets would need those tests to become families.
Limits
One test tenant. Recommendations Microsoft doesn't show for my tenant aren't in here.
Matches are based on reading the test titles, descriptions and some of the test code, not on running each test against each recommendation.
3 metric PDFs list one fewer recommendation than the portal shows (password hygiene 14 of 15, BEC sensitive data 4 of 5, BEC Outlook 16 of 17). I'm not sure why.
Files attached:
2520-metrics.csv: one row per metric with coverage counts
2520-metric-detail.csv: every recommendation in each metric, with its Maester test and Secure Score ID
2520-mapping.csv: all 262 recommendations
2520-metrics.csv
2520-metric-detail.csv
2520-mapping.csv