Get Risk View
get_risk_viewPrioritize control objectives at model, system, or tag scope. Get one row per objective with risk tier, impact, likelihood, coverage, and open findings to identify where attention is needed.
Instructions
Prioritized Risk View — one row per live Control Objective — at a chosen scope. Read-only; no side effects.
scope selects the aggregation boundary and how scope_id is interpreted:
"model"— a single threat model (scope_id= model id). One row per live CO with derived risk tier, asset impact, attacker likelihood, control coverage counts (coverage_ratio), and open-finding count (open_findings). Tombstoned COs are excluded; pair withget_threat_modelif historical context is needed. Use to triage which COs need attention on one model — a single call ranks the work, no per-CO fan-out."system"— every model in a System, a group of related threat models (scope_id= system id). Same row shape asmodelwithmodel_idandmodel_titleadded per row, so rows can be grouped/filtered by source model without an extra lookup. Use for posture queries spanning multiple models in the same product or service."tag"— every member model of a tag, a freely-composed cohort (scope_id= tag id). One delegation-aware row per CO across members (delegation_mitigated/delegating_controls): a CO mitigated via a verified cross-model delegation reads as covered, consistent with each model's own assessment. Use for a portfolio/audit-scope posture rollup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | aggregation boundary — "model", "system", or "tag". | |
| scope_id | Yes | id of the model, system, or tag selected by ``scope``. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||