Get Controls
get_controlsRead a model's controls or a single control, filter by status, CO, or component, and page results to inspect published, orphaned, deleted, or verification details.
Instructions
A model's controls, or one control. Read-only.
Without control_id: {controls, total, returned}, the published
set, filtered by status, co_id and component_id and paged by
offset / limit. Orphaned controls (every mapped CO tombstoned)
are left out unless include_orphaned=True, soft-deleted ones unless
include_deleted=True. summary_only=True returns only id,
description, status, verification_status, assertion_count, co_ids,
assumption_groups and attestation_dependency. An empty list on a new
model means its proposed build was never started
(get_control_generation_status); while a build holds the model the
list is the last published set, with a building marker.
With control_id: that control, with an orphaned flag; version
reads it as of a model version (0 = latest).
An objective id on a control is an ATTACHMENT, not credit: only a member
of a required mitigation group earns any, and a control that is
defense-in-depth everywhere can be implemented and verified without
moving an objective. Read get_mitigation_groups before evidence work.
status is the operator's (not_implemented / implemented /
verified); verification_status is the EVIDENCE: verified
(both tiers pass and the assertions cover the whole description),
partially_verified (a tier failed, clauses are unproven, or an
attestation EXPIRED — get_sufficiency says which; the fix is more
assertions or a narrower description, never a recompute), pending,
unverified (none submitted). A for-all clause is credited only by a
sound type bound with covers; get_control_work_order lists what
each clause needs. status="implemented" finds what still needs
evidence. Only this model's own controls are listed; inherited ones are
counted by assess_model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| co_id | No | ||
| limit | No | ||
| offset | No | ||
| status | No | ||
| version | No | ||
| model_id | Yes | ||
| control_id | No | ||
| component_id | No | ||
| summary_only | No | ||
| server_version | Yes | ||
| include_deleted | No | ||
| include_orphaned | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||