Get Behavioural Model
get_behavioural_modelRead a model's behavioural model: what the system does, as elements, actions and zones taken from its description. Read-only; no side effects.
Instructions
Read a model's behavioural model: what the system does, as elements, actions and zones taken from its description. Read-only; no side effects.
Returns {status, ir, ir_hash, questions, owner_questions_open, pending_answers, answered, confirmed, links, ...}. status is
none (the model has none; extract_behavioural_model gives it one),
needs_answers (an owner question is open and the model decides
nothing yet), extracted, confirmed or stale (the description
changed since it was extracted). questions are the open ones: each is
answered with answer_behavioural_questions. pending_answers are
answers collected and not yet extracted. ir_hash is what
confirm_behavioural_model names. extraction.job is the extraction
running in the background (null when none): poll this until it is null;
a failed job says why in error. generation_ready is true when
a generation stopped on these questions can now run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||