get_compliance_report
Generate a compliance gap-analysis report for a framework at model, system, or tag scope, classifying each requirement's coverage status (covered, partial, uncovered, unmapped, excluded) to identify gaps.
Instructions
Compliance gap-analysis report for one framework at a chosen scope. Read-only; no side effects. System/tag scopes require PRO tier.
Evaluates every framework requirement against the mapped controls in scope and classifies each as covered, partial, uncovered, unmapped, or excluded, then returns coverage counts plus per-requirement rows. The framework must first be activated at the same scope via select_compliance_frameworks (with the matching scope), otherwise there is nothing to report on.
scope selects the boundary and how scope_id is read:
"model"— a single threat model (scope_id= model id)."system"— rolled up across every model in a System, a group of related threat models (scope_id= system id)."tag"— rolled up across every member model of a tag cohort, a freely-composed set of models (scope_id= tag id).
Filtering / pagination:
level— level filter for level-aware frameworks; returns only requirements at or below this level (e.g. 1 for L1 only). Omit (or 0) for all levels. Honored for all scopes.status— one of "covered", "partial", "uncovered", "unmapped", "excluded"; empty = all statuses. Model and system scopes only.offset/limit— per-requirement row pagination; offset skips the first N rows, limit caps rows returned (0 = no explicit limit). Model and system scopes only.
A tag report is neither paginated nor status-filtered; passing status, offset, or limit with scope="tag" raises an error rather than silently returning unfiltered rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | optional level filter; omit for all levels. | |
| limit | No | max requirement rows to return, 0 = no explicit limit (model/system scopes only). | |
| scope | Yes | report boundary — "model", "system", or "tag". | |
| offset | No | skip the first N requirement rows, pagination (model/system scopes only). Default 0. | |
| status | No | optional per-requirement status filter (model/system scopes only). | |
| scope_id | Yes | id of the model, system, or tag selected by ``scope``. | |
| framework_id | Yes | framework to report on (already selected at this scope; see ``list_compliance_frameworks``). | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||