EntraOps Maester Pack
Shows the EntraOps findings on privileged access as Maester tests: Enterprise Access Model tier breaches, standing access, account protection, workload and agent identities, PIM activation and approval, access packages, access drift from access packages (Access Guardian) and changes between snapshots.
EntraOps evaluates its finding rules and saves the results to findings.json (Invoke-EntraOpsAssessment or
New-EntraOpsReportingData). This pack reads that file and reports one Maester test per rule:
MP.EOPS.<n> for the EntraOps rule EO.<n>. The EntraOps reports use the same evaluation, so Maester and the
reports show the same results. The pack evaluates nothing itself and needs no connection, no permission and no
module (Test-MtPack: Low risk).
[!NOTE] Maester Packs need Maester 3.0 or later.
Checks
59 tests in eight categories. The first digit of the ID is the category, which is also a tag of the test
(Invoke-Maester -Pack EOPS -Tag 'Just-in-time access').
| IDs | Category | Checks |
|---|---|---|
MP.EOPS.1xxx |
Tier boundaries | Lower tiers that control objects, services or access of a more privileged tier |
MP.EOPS.2xxx |
Classification | Objects, role assignments, approvers and access package target groups without a tier; custom roles to review |
MP.EOPS.3xxx |
Just-in-time access | Standing access and the PIM settings of eligible assignments and activations |
MP.EOPS.4xxx |
Account protection | Restricted management, cloud-only and member accounts, PAW, Conditional Access |
MP.EOPS.5xxx |
Workload and agent identities | Service principals, applications and agents with privileged access |
MP.EOPS.6xxx |
Access governance | Access packages: approval, requestor scope, expiration, access reviews and access drift (Access Guardian) |
MP.EOPS.7xxx |
Ownership and delegation | Owners of privileged objects, role assignment delegation, nested groups, administrative units |
MP.EOPS.8xxx |
Drift | Changes of privileged access between Privileged EAM snapshots |
TESTS.md lists every test with its severity and category. Each test has its description and
remediation in tests (Test.MP.EOPS.<n>.md). In EntraOps,
Get-EntraOpsFindingRule lists the rules with their Maester test ID.
Prerequisites
- PowerShell 7.4 or later and Maester 3.0 or later:
Install-PSResource -Name Maester -Repository PSGallery -Scope CurrentUser. - EntraOps 1.2.0 or later from the PowerShell Gallery (
Install-PSResource -Name EntraOps), and its finding results (findings.json) of the tenant.
Usage
1. Get the EntraOps finding results
Without EntraOps in place, run a complete assessment with one cmdlet. It signs in interactively, classifies the
privileged access, captures a Tenant Governance snapshot when the tenant is prepared for it, generates the reports
and saves the results to Reports/Findings/data/findings.json of the EntraOps working folder:
Install-PSResource -Name EntraOps -Repository PSGallery -Scope CurrentUser
Invoke-EntraOpsAssessment -TenantName 'contoso.onmicrosoft.com'
With an EntraOps repository, the EntraOps report generation (New-EntraOpsReportingData, also run by Invoke-EntraOpsReportingGeneration
and the EntraOps reporting pipelines of GitHub and Azure DevOps) evaluates all rules after the report data and
saves the results to Reports/Findings/data/findings.json. The pipelines publish them with the reports in the
EntraOps-Reporting artifact: download the artifact and use its Findings/data folder.
The rules of the PIM Request Flow, Access Package Flow, Tenant Governance and Privilege History areas evaluate
the generated report data, like the reports. Invoke-EntraOpsFindingEvaluation | Save-EntraOpsFindingJson
alone (without New-EntraOpsReportingData) skips these rules with the reason.
2. Install the pack
Install-MtPack Cloud-Architekt/EntraOps-MaesterPack
Maester shows what the pack can reach (nothing) and installs the newest release that is older than the install
cooldown (72 hours). Commit maester-config.json and maester-packs.lock.json, and run Restore-MtPack in
pipelines.
3. Run the pack
# Only this pack: no connection needed
Invoke-Maester -Pack EOPS -SkipBuiltIn -SkipGraphConnect
# Maester's tests and this pack
Invoke-Maester -Pack EOPS
Without a setting, the pack reads Reports/Findings/data/findings.json of the EntraOps working folder: of
ENTRAOPS_ROOT, of <home>/EntraOps (the working folder of Invoke-EntraOpsAssessment after a module
installation) or of the current folder (a clone of your EntraOps repository), the first one that has the file.
For another location, for example the downloaded EntraOps-Reporting artifact, set the folder or the file in
maester-config.json (see maester-config.example.json):
{
"GlobalSettings": {
"EntraOps.FindingsPath": "./EntraOps-Reporting/Findings/data"
}
}
| Setting | Default | Description |
|---|---|---|
EntraOps.FindingsPath |
the working folder (see above) | findings.json, or the folder that holds it. A relative path is relative to the current folder, ~ is the home folder. |
EntraOps.MaxFindingsAgeDays |
7 |
Skip the tests when the results are older. 0 turns the check off. |
EntraOps.ReportsPath |
the reports next to the results | The EntraOps reports that the results link to: the URL where they are published (https://...) or their folder. Without it, the reports two folders above findings.json (Reports of the working folder, or the EntraOps-Reporting artifact) when they are there. None turns the links off. |
When Microsoft Graph is connected (by Maester or earlier in the PowerShell session), the pack skips results of
another tenant. With -SkipGraphConnect it cannot compare the tenant: each result names the tenant and the date
of the EntraOps results, so check them.
When the pack cannot use the results, it does not fail: it skips all its tests with the reason and what to do, and
Invoke-Maester shows it once as a warning:
| Reason | What to do |
|---|---|
No findings.json in the default folders, or at EntraOps.FindingsPath |
Already ran EntraOps: check that EntraOps.FindingsPath in maester-config.json (or ENTRAOPS_ROOT) points to the folder where EntraOps wrote the results; the reason names the full path it checked. Never ran EntraOps: run Invoke-EntraOpsAssessment (step 1), which needs no configuration and saves the results where the pack finds them without a setting. |
| The file is empty or cut off (cannot be read) | Create it again; a download or copy may be incomplete |
| The file is no EntraOps finding results file | Point EntraOps.FindingsPath to the findings.json in Reports/Findings/data, not another JSON file |
| Unknown schema version | Update the pack |
Another tenant, or older than EntraOps.MaxFindingsAgeDays |
Create current results of the tenant, or raise the setting |
An EntraOps.ReportsPath folder without the EntraOps reports gives no report links; each result and the warning
say so.
In the Maester report, the pack's page lists all results, the tests not met and the tests not evaluated, and has this guide (Set up: Get started, Connect, Run).
Affected objects and links
A failed test lists its affected objects with their type, EntraOps tier and the evidence of EntraOps, and links each of them:
- to the Microsoft Entra admin center: users, groups, service principals, Conditional Access policies and the access package of an assignment policy (of the cloud of the Microsoft Graph connection, Global without one);
- to the EntraOps reports that show it, as the Findings view of the Privileged Assets report does: PIM Request Flow and Configuration Analyzer for PIM role settings, Access Package Flow for access package policies, Conditional Access Analysis for Conditional Access policies, Tier Breach Analyzer for the path of a tier breach, EAM Dashboard for the role assignment and the object, and Access Path Map. Every result links its rule in the Findings view (Open EO.<n> in the EntraOps Findings view), which lists all affected objects and maintains the finding exceptions.
The report links need the EntraOps reports: the pack finds them next to findings.json, or uses
EntraOps.ReportsPath. A folder becomes a link to the local files, which works in a Maester report opened from
disk; for a report that others open, publish the EntraOps reports and set their URL.
The users, groups, service principals and Conditional Access policies of the failed tests (all of them, also beyond
the rows of the tables) are listed on Maester's Affected objects page with their EntraOps tier, and access packages
by their links. Maester collects the affected objects by default; -ExcludeAffectedObjects turns this off:
Invoke-Maester -Pack EOPS -SkipBuiltIn -SkipGraphConnect -ExcludeAffectedObjects
A failed test shows the affected objects in tables of two columns, which fit the result panel of the Maester report. The layout follows the findings:
- One finding per object: objects with the same finding share a section, the finding once and a table of these objects with their evidence and links ("Can be activated without approval. — 142 PIM role settings:"). Other findings follow in one table, object and finding.
- Several findings per object (
MP.EOPS.1001,5005...): the object once, with the number of its findings and the links that all of them share, and its findings in the rows below it. Findings that differ in one name only are one row that names them all, each linked to its own report: "through the role Contributor (Azure) at rg-app1, rg-app2 and rg-shared". An object shows at most five rows, then the number of its other findings, so one object with many findings doesn't hide the others.
The object column has the tier of the object (🔐 Control Plane, ☁️ Management Plane, ⚙️ Workload Plane, ℹ️ User
Access, ❔ Unclassified, the same as the EntraOps-based tests of Maester) and its type (👤 user, 👥 group, 🤖 service
principal, 🛡️ Conditional Access policy, ⏱️ PIM role setting, 📦 access package policy, 🏢 administrative unit, 📜 role
definition) as icons, with a legend per test; a long name without spaces is shortened in the middle, with the full
name as the tooltip of its link. A finding shows the message of EntraOps without the object and tier (the Detail
of EntraOps), the evidence the message doesn't name (⏳ eligible or
📌 permanent, scope, groups) and its links to the EntraOps reports (Tier breach, Assignment, PIM flow, Package flow,
CA analysis, Configuration, EAM Dashboard, Access path; the tooltip names the report). The tiers and the role or
permission of a finding are bold, the evidence is in italics and IDs are code, so a row reads at a glance.
Each result also shows the settings EntraOps evaluated the check with (for example MaxHours: 4), the findings
accepted by finding exceptions (state, expiry, reference, justification, who accepted them), and the exceptions to
look after: expired ones, ones that match no finding anymore, and risk acceptances that expire within 30 days.
Settings of the rules
The pack reports the results as EntraOps evaluated them. The Findings section of EntraOpsConfig.json
excludes rules and sets their thresholds (for example the maximum activation duration of Control Plane roles);
see Findings settings in the EntraOps
documentation. The tests of excluded rules are skipped.
To dismiss a single finding (a false positive) or accept its risk until a date, without excluding the whole
rule, add an exception to the EntraOps Finding Exceptions File (Findings.ExceptionsFilePath, default
./Classification/FindingExceptions.json). The Findings view of the EntraOps Privileged Assets report adds
exceptions (Accept at an affected object of a check) and exports the file; save it in the EntraOps folder
and run the evaluation again. Dismissed findings (false positives) pass a test. Risk-accepted findings don't
fail it either, but the control is not met: a test with risk-accepted findings and no open one is skipped, and
the reason lists the accepted risks with their expiry date and reference. Expired exceptions report their
findings again. See
Finding exceptions.
Results
| Result | When |
|---|---|
| Passed | EntraOps evaluated the rule and found no affected object, or only findings dismissed as false positives (the result names their number). |
| Failed | EntraOps found at least one affected object that is not dismissed or risk accepted. The result lists the first 50 with their links and names the accepted findings and the unclassified objects apart. |
| Investigate | EntraOps found objects for a check that asks for a review, not a fix (Investigate in the EntraOps rule catalog): MP.EOPS.2004, 2005, 4010, 5004, 5005, 8001 and 8003, for example custom roles with Control Plane permissions. Confirm that each is intended; accept the intended ones with a finding exception. |
| Skipped | The findings of the rule are risk accepted in EntraOps and none is open (the reason lists the accepted risks). Or the rule is excluded or deprecated in EntraOps, had nothing to evaluate or its data was missing; the results are missing, belong to another tenant, are too old or have an unknown schema; or the results were written by an EntraOps version without the rule. |
| Error | EntraOps could not evaluate the rule (status Error in findings.json). The result shows the reason; run the EntraOps evaluation again. |
Relation to the tests that ship with Maester
Some tests of Maester cover related topics, for example MT.1025–MT.1031 (Control Plane role assignments),
MT.1077/MT.1078 (owners of privileged applications), MT.1207/MT.1209/MT.1210 (agent identities),
CISA.MS.AAD.7.x and CIS.M365.5.3.x (privileged roles and PIM). They query the tenant when Maester runs. The
tests of this pack report the EntraOps evaluation instead: the tenant's own Enterprise Access Model
classification (including custom classifications and tenant overwrites) and the same results as the EntraOps
reports.
Versions and contributing
The pack has the version of the EntraOps module it is generated from; releases are tagged v<Version>.
Version 1.2.1 works with EntraOps 1.2.0 and later; the results of EntraOps 1.2.1 add the notes of its rules. The tests, helpers and manifest are generated
from the EntraOps rule catalog, so most changes belong in EntraOps:
see CONTRIBUTING.md.
The pack is listed on the Maester Packs index (packs.maester.cloud).