Cheiron

Download 0
Last updated Dec 1, 2026

Query Commands

The Cheiron app provides the Cheiron Open API as 105 query commands. You can run them on the query screen or in scheduled queries, and AI agents use the same commands. For the options and output fields of each command, see the command descriptions in the store.

Common options

  • profile - the Cheiron connect profile to use. When omitted, every Cheiron profile is queried in turn and a profile field is added to each result row
  • duration or from, to - the query range of commands that take a period. Use a relative period such as duration=7d, or give times such as from=20261101000000 to=20261130235959. Do not use both together
  • Options ending in -idx (task-idx, simulation-idx and so on) take one value, and options ending in -indices take several values separated by commas

Querying run results

Query attack simulation results with the commands below. All results are flat fields, so you can view them as a table or aggregate them right away.

CommandOne row perContents
cheiron-simulation-tasksRunRun history. Status, succeeded, failed, skipped, detected, prevented and compromised counts, target hosts
cheiron-simulation-task-proceduresProcedurePer-procedure results of one run. Tactic, technique number, result, duration, error
cheiron-simulation-task-edgesEdgeScenario graph of one run. Branch conditions and the paths that ran
cheiron-instruction-resultInstructionCommand line, decoded command, standard output and standard error of one procedure
cheiron-simulation-task-diffRunResult differences from the previous run
cheiron-inspectionsInspectionInspection list and the run numbers of each inspection
cheiron-simulation-tasks duration=7d | fields _time, task_idx, name, status, succeeded, failed, skipped, compromised | sort -_time
cheiron-simulation-task-procedures task-idx=10512 | search result == "succeeded" | stats count by tactic
cheiron-simulation-task-procedures task-idx=10512 | search result == "failed" | fields seq, proc_name, technique_id, status, err, instruction_id
cheiron-instruction-result instruction-id=00000000-0000-0000-0000-0000000000a3
Note
Rows of the run list do not carry the inspection number. To find the runs of an inspection, look up the
inspection number (inspection_idx) with cheiron-inspections, then query cheiron-simulation-tasks inspection-idx=<number>.

For the raw response, use cheiron-simulation-task (graph, procedure definitions and results) and cheiron-simulation-task-resolved (results with values replaced by labels).

Other query commands

CategoryCommands
Dashboardcheiron-about, cheiron-dashboard, cheiron-dashboard-procedures, cheiron-dashboard-templates
ATT&CKcheiron-tactic-techniques, cheiron-tactics, cheiron-techniques
Scenariocheiron-simulations, cheiron-simulation, cheiron-simulation-schedule, cheiron-inspection-schedule
Templatecheiron-templates, cheiron-simulation-templates, cheiron-inspection-templates, cheiron-release-templates
Procedurecheiron-procedures, cheiron-procedure, cheiron-procedure-by-id, cheiron-instruction
Agentcheiron-agents
Administrationcheiron-accounts, cheiron-tenants, cheiron-envs, cheiron-ip-access-list

Change commands

Commands whose names start with cheiron-add-, cheiron-set-, cheiron-remove-, cheiron-run-, cheiron-pause-, cheiron-resume-, cheiron-stop-, cheiron-cleanup-, cheiron-generate- or cheiron-reset- change Cheiron data or run simulations. In the result rows, result_code is the HTTP status code and result_msg is the response message. Change commands require the profile option when there are two or more Cheiron connect profiles.

Commands ending in -batch read a target from each row of the preceding query and repeat the same action. For example, the query below pauses every run in progress.

cheiron-simulation-tasks duration=1d | search status == "In progress" | cheiron-pause-simulation-task-batch profile=cheiron
Caution
Change commands take effect in Cheiron immediately, and some actions cannot be undone. Running a simulation
executes real attack procedures on the target agents. Before running a batch variant, run only the preceding
query first and check the target rows.