Cheiron

Download 0
Last updated Dec 1, 2026

cheiron-add-inspection-template

Creates an inspection template in Cheiron.

cheiron-add-inspection-template [profile=VALUE] template-json=VALUE details-json=VALUE [procedures-json=VALUE]
profile=VALUE
Optional. Cheiron connect profile identifier
template-json=VALUE
Required. Template definition as a JSON object (the template part of the request). Fields: name (required when creating), description, is_cleanup (default false), visibility (1 public, 2 private, default 2), capability (array of strings), reference (array), stage (array of {idx, name, desc, os}; os is {windows, linux, mac: true or false, detail: OS name}). e.g. {"name": "Discovery Check", "visibility": 2, "stage": [{"idx": 1, "name": "Victim - 1", "desc": "", "os": {"windows": true, "linux": false, "mac": false, "detail": "windows"}}]}
details-json=VALUE
Required. Node graph of the template as a JSON array (the details part of the request). Each node: node_id, name, type (start, proc, branch, branch_end, end), proc_id (proc nodes), prev and next (arrays of node_id), condition (branch conditions, [] for other nodes), ui_meta ({x, y} position on the screen), stage (stage idx). The details of cheiron-simulation-template have the same shape. e.g. [{"node_id": 1, "name": "start", "type": "start", "prev": [], "next": [2], "condition": [], "ui_meta": {"x": 0, "y": 0}}, {"node_id": 2, "name": "proc2", "type": "proc", "proc_id": "00000000-0000-0000-0000-0000000000a2", "prev": [1], "next": [], "condition": [], "ui_meta": {"x": 0, "y": 160}, "stage": 1}]
procedures-json=VALUE
Optional. Definitions of the procedures the nodes use, as a JSON array (the procedures part of the request). Each item has the fields of cheiron-procedure-by-id; required: proc_id, proc_name, tactics (tactic idx array), tech_id (technique idx), platforms, environment, dependencies, main, cleanup, is_danger, danger_desc, result, file_attach, author_idx. e.g. [{"proc_id": "00000000-0000-0000-0000-0000000000a2", "proc_name": "Owner Discovery", "tactics": [7], "tech_id": 23, "platforms": {"windows": true, "linux": false, "mac": false, "detail": ["windows"]}, "environment": {}, "dependencies": [], "main": {"type": "cmd", "command": "whoami"}, "cleanup": {}, "is_danger": false, "danger_desc": "", "result": {}, "file_attach": 0, "author_idx": 2}]

Output Fields

FieldTypeNameDescription
profileStringConnect ProfileCheiron connect profile identifier
template_idxIntegerTemplate Idxe.g. 4749
nameStringNamee.g. [Linux] MITRE ATT&CK Coverage
result_codeIntegerResult Codee.g. 200
result_msgStringResult Messagee.g. OK