Worlds
Work with simulated network environments.
$ dn worlds <command>Work with simulated network environments.
manifest-create
Section titled “manifest-create”$ dn worlds manifest-createCreate a new world manifest.
Options
--name— Manifest name--project-id— Project ID to associate--preset— [choices: small, medium, large, enterprise]--seed— Random seed for reproducibility--num-users— Number of users to generate--num-hosts— Number of hosts to generate--domain— Domain name (repeatable)--json(defaultFalse)
manifest-list
Section titled “manifest-list”$ dn worlds manifest-listList world manifests.
Options
--project-id— Project ID filter--created-by— Filter by creator--page(default1)--page-size(default20)--json(defaultFalse)
manifest-get
Section titled “manifest-get”$ dn worlds manifest-get <manifest-id>Get a world manifest by ID.
Options
<manifest-id>,--manifest-id(Required)--json(defaultFalse)
graph-nodes
Section titled “graph-nodes”$ dn worlds graph-nodes <manifest-id>Get graph nodes for a world manifest.
Options
<manifest-id>,--manifest-id(Required)--limit(default1000)--offset(default0)
graph-edges
Section titled “graph-edges”$ dn worlds graph-edges <manifest-id>Get graph edges for a world manifest.
Options
<manifest-id>,--manifest-id(Required)--limit(default5000)--offset(default0)
subgraph
Section titled “subgraph”$ dn worlds subgraph <manifest-id> <center>Get a subgraph centered on a node.
Options
<manifest-id>,--manifest-id(Required)<center>,--center(Required)--depth(default2)
principals
Section titled “principals”$ dn worlds principals <manifest-id>Search principals in a world manifest.
Options
<manifest-id>,--manifest-id(Required)--query— Search query--principal-type— Filter by principal type--page(default1)--page-size(default20)
principal
Section titled “principal”$ dn worlds principal <manifest-id> <principal-id>Get a principal by ID.
Options
<manifest-id>,--manifest-id(Required)<principal-id>,--principal-id(Required)
principal-details
Section titled “principal-details”$ dn worlds principal-details <manifest-id> <principal-id>Get detailed info for a principal.
Options
<manifest-id>,--manifest-id(Required)<principal-id>,--principal-id(Required)
$ dn worlds host <manifest-id> <host-id>Get a host by ID.
Options
<manifest-id>,--manifest-id(Required)<host-id>,--host-id(Required)
host-details
Section titled “host-details”$ dn worlds host-details <manifest-id> <host-id>Get detailed info for a host.
Options
<manifest-id>,--manifest-id(Required)<host-id>,--host-id(Required)
commands
Section titled “commands”$ dn worlds commands <manifest-id>List commands for a world manifest.
Options
<manifest-id>,--manifest-id(Required)
manifest-trajectories
Section titled “manifest-trajectories”$ dn worlds manifest-trajectories <manifest-id>List trajectories for a world manifest.
Options
<manifest-id>,--manifest-id(Required)--page(default1)--page-size(default20)--json(defaultFalse)
trajectory-create
Section titled “trajectory-create”$ dn worlds trajectory-create <--manifest-id> <str>Create a new world trajectory.
Options
--manifest-id(Required)--name— Trajectory name--project-id— Project ID to associate--goal(defaultDomain Admins) — Target goal for trajectory--count(default1) — Number of trajectories to generate--strategy(defaultrandom) — [choices: random, greedy, recon-first, smart-random]--max-steps(default100) — Maximum steps per trajectory--seed(default42) — Random seed for reproducibility--threads(default1) — Number of parallel threads--only-successful(defaultFalse)--mode(defaultkali) — [choices: kali, c2, agent]--runtime-id— Runtime environment ID--capability-name— Capability to use--agent-name— Agent name within capability--agent-model— Model for the agent--json(defaultFalse)
trajectory-list
Section titled “trajectory-list”$ dn worlds trajectory-listList world trajectories.
Options
--manifest-id— Filter by manifest ID--project-id— Project ID filter--created-by— Filter by creator--page(default1)--page-size(default20)--json(defaultFalse)
trajectory-get
Section titled “trajectory-get”$ dn worlds trajectory-get <trajectory-id>Get a world trajectory by ID.
Options
<trajectory-id>,--trajectory-id(Required)--json(defaultFalse)
job-list
Section titled “job-list”$ dn worlds job-listList world jobs.
Options
--project-id— Project ID filter--created-by— Filter by creator--kind— [choices: manifest_generation, trajectory_generation]--status— [choices: queued, running, completed, failed, cancelled]--page(default1)--page-size(default20)--json(defaultFalse)
job-get
Section titled “job-get”$ dn worlds job-get <job-id>Get a world job by ID.
Options
<job-id>,--job-id(Required)--json(defaultFalse)
job-wait
Section titled “job-wait”$ dn worlds job-wait <job-id>Wait for a world job to complete.
Options
<job-id>,--job-id(Required)--poll-interval-sec(default5.0) — Polling interval in seconds--timeout-sec— Timeout in seconds for waiting--json(defaultFalse)
job-cancel
Section titled “job-cancel”$ dn worlds job-cancel <job-id>Cancel a world job.
Options
<job-id>,--job-id(Required)--json(defaultFalse)