run_maester_tests
Run Maester security tests on Microsoft 365/Entra to detect misconfigurations and compliance risks. Provides pass/fail summary and file paths.
Instructions
Run Maester 2.2 security tests against your Microsoft 365 / Entra tenant. Returns a pass/fail summary and results file paths. Scope with tags and services. Takes 2–10 min depending on breadth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Only run tests with these tags. Examples: EIDSCA, CISA, CIS, CA, MFA, Privileged, Defender, AIAgent, 'CIS GH', MT.1172. | |
| services | No | Services to connect. Default ['Graph']. Add Exchange, Teams, Dataverse (Copilot Studio), GitHub, SharePoint, Azure. 'ActiveDirectory' is on-prem opt-in and never part of 'All'. | |
| useDrift | No | Compare against the configured baseline (MAESTER_DRIFT_ROOT) to detect configuration drift. | |
| excludeTags | No | Exclude tests with these tags. | |
| emitMarkdown | No | Also emit a markdown summary suitable for a PR comment or pipeline step. | |
| includePreview | No | Include preview tests (replaces the deprecated 'All' tag). | |
| includeLongRunning | No | Include long-running tests (replaces the deprecated 'Full' tag). |