Repository navigation
Description
Describe the feature
Entra ID Protection raises a risk detection for each suspicious event it sees: leaked credentials, password spray, attacker-in-the-middle, suspicious credential addition and more. A detection stays atRisk until someone handles it. In many tenants they pile up unreviewed for weeks: nobody remediates them and nobody dismisses them.
Maester should report the detections that are still open, one result per detection type, so the security operations team can see at a glance which signals are waiting and work through them. High-risk detections come first.
Prompted by the new Suspicious credential addition detection (ourcloudnetwork.com write-up), but the design covers every documented type.
Design
Two families, one row per detection type
Each check is a Maester family (InstanceSource). The engine runs it once per detection type, so the report shows one row per type, for example MT.1273.passwordSpray or MT.1273.suspiciousCredentialAddition. Each row has its own title and severity. A type with no open detections passes, so the report also shows what is clean.
| Check | Subject | Graph (v1.0) | Instances |
|---|---|---|---|
| MT.1273 | Users (sign-in and user risk) | identityProtection/riskDetections |
27 documented riskEventType values + any undocumented type found |
| MT.1274 | Workload identities (service principals) | identityProtection/servicePrincipalRiskDetections |
8 documented riskEventType values + any undocumented type found |
Detection types come from What are risk detections? and Securing workload identities. Instances are static so that every documented type always gets a row. The instance source also adds a row for any riskEventType returned by Graph that isn't in the list, so new Microsoft detections are never silently dropped.
What fails
A row fails when there is at least one detection of that type whose riskState is atRisk or confirmedCompromised. Those are the same open states that MT.1260 uses. Rows for detections that are dismissed, remediated, confirmedSafe or none pass. The result table lists each open detection, sorted by risk level (high first) and then by date. It shows user or service principal, risk level, state, detected date, IP and location, and it opens with a count by level. Graph keeps detections for 90 days, so that is the window covered.
Recommendation
Each row's description explains what that detection means and links to Microsoft's investigation tips for that type. The fix is the same for every row: the security operations team reviews each detection. If it's benign, dismiss it (Dismiss user risk / Confirm sign-in safe; for workload identities, Dismiss risk). If it's malicious, confirm compromised and remediate: secure password reset, revoke sessions, remove any authentication method or credential the attacker added, and for service principals rotate credentials. The test reads only. It never changes risk state.
Licensing and permissions
- MT.1273:
License = 'AAD_PREMIUM'(the riskDetections API needs Entra ID P1 or P2). Rows for premium detection types are skipped withNotLicensedEntraIDP2in tenants without P2, because those detections only appear there asgeneric("Additional risk detected"). - MT.1274:
License = ('AAD_WRKLDID_P1', 'AAD_WRKLDID_P2'), because the API needs Workload ID Premium. This matches MT.1262. - Permission:
IdentityRiskEvent.Read.All, already in Maester's default scopes. No new consent is needed.
Relationship to existing and in-flight checks
- MT.1260/MT.1261 (users) and MT.1262/MT.1263 (feat(entra): add MT.1262 - high-risk service principals should not be left unremediated in Entra ID Protection #2689, feat(entra): add MT.1263 - medium-risk service principals should not be left unremediated in Entra ID Protection #2704, service principals) report risky users and service principals by risk level, from
riskyUsersandriskyServicePrincipals. These new checks report the detections: why each identity is risky, split by signal. The data source and the question are different, so they are not duplicates or shims. Each guide links to the other check. - feat(entra): Add Entra risk remediation, drift, and delegated admin checks #2705 (MT.1253) checks that a CA policy responds to user risk. This issue is about reviewing the risk that has already been raised.
Attributes (proposed)
| MT.1273 | MT.1274 | |
|---|---|---|
| Product / Feature | entra / identity-protection |
entra / identity-protection |
| Area | logging-and-detection (as MT.1260) |
applications (as MT.1262) |
| ResourceType | User |
ServicePrincipal |
| Severity | Family default Medium. Instances: High for strong compromise signals (leaked credentials, AitM, password spray, PRT access, verified threat actor IP, suspicious MFA approval, suspicious credential addition, token issuer anomaly, threat intelligence, admin-confirmed compromise), Low for noisy signals (anonymous IP, new country), Medium for the rest |
High for leaked credentials, malicious application, threat intelligence, admin-confirmed compromise; Medium for the rest |
| Mitre | T1078.004, T1110.003, T1557, T1098.005, T1114.003 | T1078.004, T1098.001, T1552 |
| Lifecycle | Preview |
Preview |
Delivery
Two draft PRs, one per family, so either can merge on its own. Both target after the 3.0 release.
Impact and importance
An open risk detection is Microsoft telling the tenant it has probably been attacked. Without a regular review the signals age out after 90 days, unread. One row per type turns the ID Protection report into a work queue for SecOps, puts the high-risk signals at the top, and gives a passing row as evidence that each kind of signal is being handled.
Activity
merill commentedon Nov 8, 2026
Draft PRs:
Both are drafts for review after the 3.0 release, and both still need a run against a live tenant.