Get Inventory Judgements
get_inventory_judgementsReads per-entity inventory checks for a threat model, returning duplicate groups, disputed pairs, coverage status, and tag declarations so you can review and resolve inventory issues.
Instructions
Read what the per-entity checks found about a model's inventory. Read-only: no model is called and nothing is queued.
Returns {model_id, version, duplicates, tags}. duplicates, per
kind (assets, attackers): groups (shown as one entity: both
sides' current checks say so, their texts are identical, or a person
decided it), disputed and one_sided (one check says the same and
the other does not, or only one side answered), overlaps (part and
whole), decided (the decisions in force), status (complete
when every pair a check is owed for is covered, partial with
uncovered counting the rest as queued, failed or never asked,
not_evaluated with a reason) and legacy (a report from
before the per-entity checks). tags: the entities whose tags are
neither current nor declared (unchecked) and the declarations in
force. The same rows reach get_review_queue as
inventory_judgement.
Relay a disputed pair to the person; decide_inventory_pair records
the decision and request_inventory_checks asks for the checks owed.
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 | |||