List Control Revisions
list_control_revisionsRetrieve the full revision history for a threat model version's controls, including authors, timestamps, affected control IDs, and undo details.
Instructions
List every change to a model version's set of controls. Read-only.
Each write to a version's published controls — a build's publish, an
import, an edit, a deletion, an undo — is a set revision with its author.
Returns {model_id, model_version, latest_version, discarded, revisions, undo_target}; each revision carries revision, job_id (the
build that wrote it, if any), started_by, started_at,
controls (the ids it touched), undo_of (the revision it undid,
for an undo) and undone_by / undone_at. undo_target is the
revision undo_model_change(target="controls") would undo (null when none, and for any
version but the latest). discarded is true for a version a revert
replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Model version to read (0 = the latest live version). | |
| model_id | Yes | ID of the threat model. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||