Command-line reference

arcsentry case

Create, open, list, and retire cases, and read or change a case's own record.

Subcommands

Create, open, list, and retire cases, and read or change a case's own record.

A case is addressed only by the UUID case create prints; a directory is a creation-time and open-time argument, never an identity. case list shows only the active cases. case purge is the one command here that deletes anything, and it cannot be undone.

arcsentry case <subcommand>

Examples

Create a new case and print its UUID, which every other command needs

arcsentry case create --name "Dixon intrusion" --path /cases/dixon

List every case this installation knows about

arcsentry case list

Read one case's record as a table instead of JSON

arcsentry case info --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format text

List the archived cases and where their zip files are

arcsentry case list --archived

Subcommand reference

arcsentry case create

Create a case and its case directory, and print the case UUID.

The UUID printed here is the case's only identity: every other command takes it as --case. The directory named by --path must not already hold a case.

arcsentry case create --name <name> --path <path> [options]
OptionDescription
-n, --name <name>required Display name for the case, shown in the GUI and in case list.
-d, --description <description> Free-text description stored with the case record.
-p, --path <path>required Directory the case is created in. Used only at creation time; afterwards the case is addressed by UUID.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Create a case and print its record as JSON, including the UUID to use from here on

arcsentry case create --name "Dixon intrusion" --path /cases/dixon

Create a case with a description recorded alongside it

arcsentry case create --name "Dixon intrusion" --description "Ransomware, three laptops, opened 2026-08-03" --path /cases/dixon

Create a case and read the result as a table

arcsentry case create --name "Phoenix server review" --path /cases/phoenix --format table

Create a case using the short forms of every flag

arcsentry case create -n "Phoenix server review" -p /cases/phoenix -f json

arcsentry case open

Open the case stored at a directory and print its record, including its UUID.

Use this to recover the UUID of a case you have on disk but not in this installation's list. Opening a case does not change any global scope: every other command still takes --case explicitly.

arcsentry case open --path <path> [options]
OptionDescription
-p, --path <path>required Case directory to open.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Open a case directory and print its record, including the UUID

arcsentry case open --path /cases/dixon

Open a case that lives on an external evidence volume

arcsentry case open --path /media/evidence/cases/phoenix

Open a case and read the record as a table

arcsentry case open --path /cases/dixon --format table

Open a case using the short forms of both flags

arcsentry case open -p /cases/dixon -f json

arcsentry case list

List every case this installation knows about, with its UUID, name, and path.

Only active cases are listed. A dismissed case is not, so case open --path is how you recover the UUID of one, and --archived lists the archived cases with the zip file each was written to, its size, when it was archived and whether the zip is present, missing or changed. Each active row carries archive_pending, true only for a case whose archiving did not finish, which case archive --case <uuid> completes. The listing is this installation's own registry, so a case directory copied onto this machine is absent until it has been opened here. Each row also reports reachable, in_use, priority, processing_count and interrupted_count; priority, processing_count and interrupted_count are null when the case could not be read.

arcsentry case list [options]
OptionDescription
-a, --archived List the archived cases instead of the active ones.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

List every case as JSON

arcsentry case list

List cases as a table for reading in a terminal

arcsentry case list --format table

List the archived cases and where their zip files are

arcsentry case list --archived

List the cases holding evidence whose analysis stopped with Arcsentry before it finished

arcsentry case list --format json | jq -r '.[] | select(.interrupted_count > 0) | .id'

arcsentry case archive

Archive a case to a verified zip file and remove its folder.

The case is written to a zip file at the location you name, every file in the zip is checked after it is written, and only then is the case folder removed. Until the removal starts the command can be stopped with Ctrl+C and leaves the case unchanged and no file behind. The zip carries the case's own files, and the paths of the evidence sources are recorded in it. The case must not be open in another window or command, none of its evidence may be analyzing, and --output is required for a new archive. If an earlier archive stopped before the removal finished, case list shows archive_pending true, and case archive --case <uuid> with no --output finishes it.

arcsentry case archive --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-o, --output <output> Zip file to write, ending in .zip, outside the Arcsentry data folder. Required for a new archive and not given when finishing one.
-f, --format <format> Output format: json (default) or table. Default: "json".

Examples

Archive a finished case to a zip file

arcsentry case archive --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --output /evidence/handover/dixon-electrical.zip

Archive a case and read the resulting record as a table

arcsentry case archive --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --output /evidence/handover/dixon-electrical.zip --format table

Archive a case using the short forms of the flags

arcsentry case archive -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -o /evidence/handover/dixon-electrical.zip -f json

Archive a case onto an archive drive and print the record as JSON for the case file

arcsentry case archive --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --output /mnt/archive/2026/dixon-electrical.zip --format json

arcsentry case restore

Restore a case from a zip file written by case archive.

Give --case for a case archived on this installation, or --from for any zip written by case archive, including one from another machine. Every file in the zip is checked, the case is extracted to the folder given by --path, and it is added to Arcsentry while the zip stays where it is. The destination folder must not exist, and without --path the case returns to the folder it was archived from. With --dry-run nothing is written and the command prints what the zip holds and the destination the restore would use. The evidence sources are not inside the zip, so a restored case whose sources are absent cannot reanalyze its evidence.

arcsentry case restore [options]
OptionDescription
-c, --case <case> UUID of an archived case of this installation. Give this or --from.
-F, --from <from> Zip file written by case archive. Give this or --case.
-p, --path <path> Folder to restore the case to. It must not exist.
-n, --dry-run Print what the zip holds and where it would be restored, and write nothing.

Examples

Bring an archived case back to the folder it was archived from

arcsentry case restore --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

See what a zip holds and where it would be restored, writing nothing

arcsentry case restore --from /evidence/handover/dixon-electrical.zip --dry-run

Restore a zip from another machine into the Arcsentry cases folder

arcsentry case restore --from /evidence/handover/dixon-electrical.zip

Restore a zip to a folder of your choice

arcsentry case restore --from /evidence/handover/dixon-electrical.zip --path /cases/dixon-electrical

arcsentry case purge

Permanently delete a case and everything in it. This cannot be undone.

--confirm must repeat the same UUID as --case; the command refuses when they differ. Without --yes the command asks on the terminal to confirm the irreversible deletion, and refuses when no affirmative answer is available. What goes is the case's registry row and its whole on-disk store, analysis results included. For an archived case, Delete also removes its zip file. case archive keeps the case in a zip file and restores it with case restore; purge is the irreversible option.

arcsentry case purge --case <case> --confirm <confirm> [options]
OptionDescription
-c, --case <case>required Case UUID to delete.
-C, --confirm <confirm>required Repeat the --case UUID here. The command refuses unless the two match.
-y, --yes Skip the interactive confirmation prompt. Intended for scripts.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Delete a case, answering the confirmation prompt by hand

arcsentry case purge --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --confirm 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Delete a case from a script, with no prompt

arcsentry case purge --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --confirm 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --yes

Delete a case and read the result as a table

arcsentry case purge --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --confirm 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --yes --format table

Delete a case using the short forms of the flags

arcsentry case purge -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --confirm 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -y

arcsentry case dismiss

Remove a case from the case list without deleting its folder.

Use it for a case whose folder is gone or that cannot be opened, so it stops appearing in case list. Nothing on disk is deleted: the case's folder, its evidence and its analysis results stay where they are. --yes removes it without asking; otherwise the command asks on the terminal to confirm and refuses when no affirmative answer is available. A case another Arcsentry window or command holds, or one that can be opened, is refused and nothing is removed; archive a case that opens with case archive to take it off the case list. case purge is the command that deletes a case and everything in it.

arcsentry case dismiss --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID to remove from the case list.
-y, --yes Skip the interactive confirmation prompt. Intended for scripts.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Remove a case from the list, answering the confirmation prompt by hand

arcsentry case dismiss --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Remove a case from the list from a script, with no prompt

arcsentry case dismiss --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --yes

Remove it using the short forms and read the result as a table

arcsentry case dismiss -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -y -f table

Confirm the case no longer appears in the list

arcsentry case list --format table

arcsentry case info

Print one case's record: name, title, summary, type, paths, and counts.

This is a passive read: it takes no write lock and starts no background work, so it is safe to run against a case that is ingesting, and it repairs nothing. Alongside the record it reports the case's maintenance and overview health, and where an overview needs attention it prints the exact case cache-recovery command for it. The --case value must be a canonical UUID. The text form prints the case identity and those health lines; the json, csv and table forms carry the full record.

arcsentry case info --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-f, --format <format> Output format: json (default), text, jsonl, csv, or table. Default: "json".

Examples

Print a case's record as JSON

arcsentry case info --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Print the same record as readable text

arcsentry case info --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format text

Print a case's record using the short forms of both flags

arcsentry case info -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -f text

Change the title and summary on that same record

arcsentry case info update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Dixon Electrical intrusion" --summary "Three laptops, ransomware"

arcsentry case info update

Change a case's title and summary.

Only the fields you pass are changed; the rest of the record is left alone. Passing neither --title nor --summary is refused rather than treated as a write that changed nothing. The change is recorded in the case log against the case.

arcsentry case info update --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-t, --title <title> New title for the case.
-S, --summary <summary> New summary text for the case.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Set both the title and the summary

arcsentry case info update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Dixon Electrical intrusion" --summary "Three laptops, ransomware, opened 2026-08-03"

Change only the title, leaving the summary as it was

arcsentry case info update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Dixon Electrical intrusion (closed)"

Change only the summary and read the result as a table

arcsentry case info update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --summary "Contained 2026-08-05" --format table

Update using the short forms of every flag

arcsentry case info update -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -t "Dixon intrusion" -S "Contained" -f json

arcsentry case cache-recovery

Act on a case whose overview cannot be used: rebuild it, reanalyze evidence, or remove evidence.

Nothing here runs on its own. A case reports whether its overview can be used and you choose what to do about it. retry rebuilds the overview of the whole case and refuses --evidence-id; reanalyze and remove-evidence act on one evidence item and require it.

arcsentry case cache-recovery --case <case> --action <action> [options]
OptionDescription
-c, --case <case>required Case UUID.
-a, --action <action>required What to do: retry (rebuild the case overview), reanalyze (read one evidence item again), or remove-evidence (remove one evidence item).
-H, --evidence-id <evidence-id> Evidence UUID the action applies to. Required by reanalyze and remove-evidence; refused by retry.
-R, --confirm-replace-cache Allow a malformed overview to be replaced rather than refused. Required before a replacing recovery proceeds.
-f, --format <format> Output format: json (default) or text. Default: "json".

Examples

Rebuild the case overview after the case reported that it cannot be used

arcsentry case cache-recovery --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --action retry

Reanalyze the one evidence item whose overview could not be rebuilt

arcsentry case cache-recovery --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --action reanalyze --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013

Rebuild the overview, allowing a malformed one to be replaced

arcsentry case cache-recovery --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --action retry --confirm-replace-cache

Remove evidence whose original source is gone and cannot be reanalyzed

arcsentry case cache-recovery --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --action remove-evidence --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --format text

arcsentry case ranking

List the case's ATT&CK techniques page by page, most hits first.

A ranking lists every ATT&CK technique of the case, most hits first. A listing returns one page carrying total and has_more, --page-number reads one page and --limit sets how many items a page carries. --evidence-id keeps the items recorded against that evidence and may be repeated, and leaving it out reads all the evidence still in the case. With --format jsonl or csv every page is written as it arrives, and with --format table one page is printed and the next page number is named on stderr. While the case is still being analysed the answer is an empty page marked pending, and the command exits 0.

arcsentry case ranking --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-H, --evidence-id <evidence-id> Limit to items recorded against the evidence with this UUID. Can be repeated.
-N, --page-number <page-number> Read this 1-based page of the ranking. The page says whether more remain and which page number continues.
-l, --limit <limit> Items per page. The page says whether more remain and how to continue.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

List the ATT&CK techniques of the case, most hits first

arcsentry case ranking --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

List the techniques recorded against one evidence item

arcsentry case ranking --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013

Read the second page of a chosen size

arcsentry case ranking --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --limit 20 --page-number 2

Print one page as a table with the short forms of the flags

arcsentry case ranking -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -f table

arcsentry case set-type

Set the case type, which drives the case's investigative template.

The type is metadata on the case record: no evidence is touched and no query result changes. The id must be one of the ids case types list serves; anything else is refused before the write, so a mistyped id is never recorded as a type. The write goes to the case's own store with an audit entry naming the actor, and the record printed afterwards is the stored one. A case another instance currently holds is refused rather than queued.

arcsentry case set-type --case <case> --type <type> [options]
OptionDescription
-c, --case <case>required Case UUID.
-e, --type <type>required Case type id. Run case types list for the ids this build accepts.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Mark a case as a ransomware investigation

arcsentry case set-type --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --type ransomware

Mark a case as a fraud investigation and read the result as a table

arcsentry case set-type --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --type fraud --format table

Set the type using the short forms of every flag

arcsentry case set-type -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -e apt -f json

Check which type ids this build accepts before setting one

arcsentry case types list --format table

arcsentry case set-priority

Set a case's priority, which case info and case list show.

The priority is a detail of the case record: no evidence is touched and no query result changes. --priority takes one of the published case priorities; any other value is refused before the write. normal is the priority of a case nobody has raised or lowered, and setting it returns a case to that default; a case whose files cannot be read shows no priority in case info and case list. The write goes to the case's own store with a case log entry naming the actor, and the record printed afterwards carries the priority read back from the store. A case another instance currently holds is refused rather than queued.

arcsentry case set-priority --case <case> --priority <priority> [options]
OptionDescription
-c, --case <case>required Case UUID.
-p, --priority <priority>required Case priority: critical, high, medium, normal or low.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Raise a case to the top priority

arcsentry case set-priority --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --priority critical

Return a case to the default priority and read the result as a table

arcsentry case set-priority --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --priority normal --format table

Set the priority using the short forms of every flag

arcsentry case set-priority -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -p high -f json

Read the priority currently set on a case

arcsentry case info --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format json

arcsentry case types

Show the case types this build offers.

The vocabulary is fixed in this build: it is not per case, it takes no --case, and it does not grow as cases are created. It is the same set the GUI's case-type picker offers.

Examples

List the case types available

arcsentry case types list

List them as a table

arcsentry case types list --format table

Apply one of the listed ids to a case

arcsentry case set-type --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --type apt

Read the type currently set on a case

arcsentry case info --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format text

arcsentry case types list

List the case type ids and names this build accepts.

case set-type --type takes the id, not the label. The set is compiled into this build and served unchanged to the GUI picker and to the agent's case_types_list tool, so it reads the same for every case and every installation of this build.

arcsentry case types list [options]
OptionDescription
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

List the available case types as JSON

arcsentry case types list

List them as a table for reading in a terminal

arcsentry case types list --format table

List them as CSV

arcsentry case types list --format csv

List them using the short form of the flag

arcsentry case types list -f table

arcsentry case overview

Show the case overview: evidence counts, states, the timeline by day and the first page of the ATT&CK technique ranking.

The overview is the same summary the desktop application shows on its dashboard, read from the case's precomputed data. json prints the whole summary; table prints one row per field. For the full ranking pages use the case ranking command.

arcsentry case overview --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID to summarise.
-H, --evidence-id <evidence-id> Evidence UUID to include. Repeat for several evidence items; without it all the evidence of the case is included. Can be repeated.
-f, --format <format> Output format: json or table. Default: "json".

Examples

Show the overview of a case

arcsentry case overview --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Show the overview of one evidence item as a table

arcsentry case overview --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --format table

Show the overview of a case as a table

arcsentry case overview --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format table

Show the overview of one evidence item using the short forms of both flags

arcsentry case overview -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013