/inforcer:baseline-alignmentfrom inforcer
Lists baseline templates, reads tenant alignment scores, and inspects per-policy drift details against assigned baselines in Inforcer.
Ships in inforcer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inforcer's central idea: each managed tenant is measured against an assigned security baseline (a template of policy settings). The gap between the tenant's deployed state and that baseline is drift. This skill covers listing baselines, reading alignment scores, and — most importantly — pulling the per-policy alignment details that show exactly where a tenant has drifted.
Read api-patterns for headers, region, the envelope, and pagination, and tenant-management for resolving a tenant to its integer Client Tenant ID. Every alignment/policy call is tenant-scoped by that integer id.
cipp-users, cipp-security, or
cipp-standards, and CIPP's Remediate-mode standards are the
auto-fix mechanism Inforcer lacks.cipp-standards.inforcer-compliance-reporting.inforcer-audit-events.inforcer_baselines_listList the security baseline templates defined in Inforcer. Returns baseline objects (id, name, and the policy settings each baseline prescribes). Baselines are the "golden" definition a tenant is compared against.
inforcer_baselines_list()
inforcer_alignment_scoresRead the alignment score for a tenant — the headline measure of how closely the tenant matches its assigned baseline.
inforcer_alignment_scores(clientTenantId=1423)
Use this for the at-a-glance "how aligned is this tenant?" answer. Score classification (aligned / semi-aligned / drifted) is threshold-driven — see compliance-reporting.
inforcer_alignment_detailsPull the per-policy drift breakdown — the detailed list of how each policy in the tenant compares to the baseline. This is where you see which policies are aligned and which have drifted, not just the aggregate score.
inforcer_alignment_details(clientTenantId=1423)
Returns, per policy, the baseline-expected state and the tenant's actual state so you can pinpoint exactly what diverged. This is the primary input to any drift report.
inforcer_policies_listList the deployed policy state for a tenant (read-only). Shows what policies are actually in place on the tenant, independent of the baseline comparison.
inforcer_policies_list(tenant="Acme")
The tenant argument accepts a friendly name, a DNS name, an Azure AD
tenant GUID, or the numeric Client Tenant ID; the server resolves the
first three to the numeric id before calling Inforcer.
Use this to inspect the tenant's real configuration when an alignment detail is ambiguous, or to confirm what is actually deployed.
| Finding | Why it matters |
|---|---|
| Low alignment score | The tenant has drifted materially from its baseline; investigate inforcer_alignment_details |
| Policy present in baseline but absent on tenant | A required control was never deployed or was removed |
| Policy deployed but with weaker settings than baseline | Silent weakening — looks "configured" but doesn't meet baseline |
| Many small drifts vs one critical drift | Triage by control impact, not count — one missing MFA/identity control outweighs many cosmetic diffs |
| Tenant with no assigned baseline | Nothing to measure against; alignment is meaningless until a baseline is assigned |
ctid = resolve("Acme") # integer Client Tenant ID
score = inforcer_alignment_scores(clientTenantId=ctid)
details = inforcer_alignment_details(clientTenantId=ctid)
drifted = [p for p in details if p['aligned'] is False]
Start from the score for the headline, then read alignment_details to
list the drifted policies. Cross-reference inforcer_policies_list
when you need the tenant's actual deployed value for a policy.
For each tenant from inforcer_tenants_list, pull
inforcer_alignment_scores, then drill into inforcer_alignment_details
only for tenants below an alignment threshold. This keeps the sweep
cheap while still surfacing the per-policy detail where it matters. Page
continuationToken to completion on every list.
aligned and the exact alignment_details shape are
illustrative and credited to
royklo/InforcerCommunity.What SKILL.md sets; muted values are Claude Code's defaults
When listing baseline templates, reading a tenant's alignment score, or inspecting per-policy drift against an assigned baseline. Use when: inforcer baseline, baseline template, tenant alignment, alignment score, alignment details, policy drift, drift detail, or tenant policies.
Three short reads, in order
inforcer, drift-detection, security-baseline, tenant-alignment
7 skills in this plugin
/api-patternsInforcer API PatternsInforcer MCP fundamentals: the gateway X-Inforcer-Region / X-Inforcer-Api-Key headers, the region-based base URL and upstream Inf-Api-Key header, the /beta/ route prefix, the {success,message,errors,data} response envelope, continuationToken pagination, and the integer Client Tenant ID vs Azure AD GUID gotcha. Every other Inforcer skill assumes these patterns.
/assessmentsInforcer AssessmentsInforcer assessments: listing a tenant's assessments (read-only) and triggering an assessment run — the one mutating action in the entire Inforcer surface. Covers what a run refreshes (the data behind alignment, secure score, and drift), its tenant-scoping, and the confirmation discipline it requires.
/audit-eventsInforcer Audit EventsInforcer's read-only record of changes and activity: searching and filtering auditEvents by type and date window (the search is account-wide — there is no tenant filter), enumerating the event-type catalog to build valid filters, and the continuationToken paging audit searches require.
/compliance-reportingInforcer Compliance ReportingInforcer compliance and posture reporting: per-tenant Microsoft 365 secure scores, combining them with alignment scores, and the alignedThreshold / semiAlignedThreshold settings that classify each tenant or policy as aligned, semi-aligned, or drifted. Covers portfolio posture roll-ups across the MSP's managed tenants.
/identity-governanceInforcer Identity GovernanceInforcer's read-only identity inventory for a managed Microsoft 365 tenant: users, groups, and role assignments. Answers "who and what exists" for governance and review rather than performing user administration. Covers the integer Client Tenant ID scoping every identity call requires.
/tenant-managementInforcer Tenant ManagementInforcer's managed Microsoft 365 tenant list and the resolution step that turns a friendly name, DNS domain, or Azure AD GUID into the integer Client Tenant ID. The starting point for almost every Inforcer workflow, since alignment, secure score, identity, and audit calls are all tenant-scoped.
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin inforcerOther plugins' skills for the same job