Cheiron

Download 0
Last updated Dec 1, 2026

cheiron-add-simulation

Creates a simulation from a template in Cheiron.

cheiron-add-simulation [profile=VALUE] name=VALUE template-idx=VALUE stage-agent-maps-json=VALUE [env-idx=VALUE] [schedules-json=VALUE]
profile=VALUE
Optional. Cheiron connect profile identifier
name=VALUE
Required. Simulation name
template-idx=VALUE
Required. Simulation template idx to use
stage-agent-maps-json=VALUE
Required. Agent assigned to each stage of the template, as a JSON array (StageAgentMap). Each item: stage_idx (required, idx in the stage list of the template) and agent (required): agent_id, agent_name, host_name, ip and is_spawned (required, false for an installed agent). Take the agent values from cheiron-agents. e.g. [{"stage_idx": 1, "agent": {"agent_id": "00000000-0000-0000-0000-0000000000a2", "agent_name": "CheironAgent.exe", "host_name": "DESKTOP-A1B2C3D", "ip": "192.0.2.10", "is_spawned": false}}]
env-idx=VALUE
Optional. Global environment idx to use
schedules-json=VALUE
Optional. Automatic run schedules as a JSON array (CreateScheduleRequest). Each item: period (required: 1 daily, 2 weekly, 3 monthly), hour (0 to 23, default 0), minute (0 to 59, default 0), weekday (array of 1 Monday to 7 Sunday, for period 2), date (day of the month, for period 3), timezone (IANA name, default UTC). e.g. [{"period": 2, "weekday": [1], "hour": 9, "minute": 0, "timezone": "Asia/Seoul"}]

Output Fields

FieldTypeNameDescription
profileStringConnect ProfileCheiron connect profile identifier
simulation_idxIntegerSimulation Idxe.g. 5135
nameStringNamee.g. 2024 Linux Top 10 Techniques
result_codeIntegerResult Codee.g. 200
result_msgStringResult Messagee.g. OK