Command-line reference

arcsentry quiver

Author, validate, run, and promote arrows: reusable TOML hunt rules.

Subcommands

Author, validate, run, and promote arrows: reusable TOML hunt rules.

An arrow is stored globally when no --case is given, and inside the case when one is. Running, promoting, and demoting always require --case.

arcsentry quiver <subcommand>

Examples

Check an arrow's TOML before saving it

arcsentry quiver validate --toml-file /tmp/rdp-brute.toml

Save an arrow into a case

arcsentry quiver create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --toml-file /tmp/rdp-brute.toml

Run a saved arrow against one evidence item

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

Promote an arrow that earns its place

arcsentry quiver promote --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Subcommand reference

arcsentry quiver create

Save an arrow from TOML.

Give the TOML with --toml or --toml-file; an arrow is written with the tables [meta] and [query] and at most one [action], which may set nothing. An arrow is stored in the case named by --case, or globally when none is given. Arcsentry records [source] when the arrow is saved; a [source] table in the TOML is replaced. The save refuses a query that does not return one record per row, and a query that names a field which is not a field of every event type declared in [query].event_type, naming the field, the event types and the closest known fields.

arcsentry quiver create [options]
OptionDescription
-c, --case <case> Case UUID to store the arrow in. Stored globally when omitted.
-T, --toml <toml> Arrow TOML given inline. Conflicts with --toml-file.
-F, --toml-file <toml-file> Read the arrow TOML from this file. Conflicts with --toml.

Examples

Save an arrow from a TOML file into a case

arcsentry quiver create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --toml-file /tmp/rdp-brute.toml

Save an arrow globally so every case can run it

arcsentry quiver create --toml-file /tmp/rdp-brute.toml

Save a short arrow from a working file into a case

arcsentry quiver create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --toml-file /tmp/rdp-brute.toml

Save an arrow using the short forms of every flag

arcsentry quiver create -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -F /tmp/rdp-brute.toml

arcsentry quiver list

List the arrows available, globally or inside one case.

The global arrows and, when --case is given, the case's own are listed together and sorted by id; where both hold the same id the case's copy is the one listed, and each entry's scope says whether it is a global arrow or the case's own. An arrow file that cannot be read is listed with the reason it could not be read, and for a syntax error the line and column, instead of being dropped, so a broken arrow cannot hide behind a short list. The id shown here is what --id takes on get, run, promote and demote.

arcsentry quiver list [options]
OptionDescription
-c, --case <case> Case UUID whose arrows are listed. Lists the global arrows when omitted.

Examples

List the arrows stored in a case

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

List the globally stored arrows

arcsentry quiver list

List a case's arrows using the short form of the flag

arcsentry quiver list -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Read one of the listed arrows in full

arcsentry quiver get --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

arcsentry quiver get

Print one arrow in full: its stored document, storage scope, and the on-disk path of its TOML file.

With --case the case's own arrow is read, and when the case holds no arrow of that id the global one is read instead; the scope in the output tells you which you got. Without --case only the global quiver is read. The output carries the arrow's stored document in full, with its meta, query, action and source provenance, and that is the same shape quiver create accepts.

arcsentry quiver get --id <arrow-id> [options]
OptionDescription
-c, --case <case> Case UUID the arrow is stored in. Reads a global arrow when omitted.
-i, --id <arrow-id>required Arrow id, as printed by quiver list.

Examples

Print one of a case's arrows

arcsentry quiver get --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Print a globally stored arrow

arcsentry quiver get --id rdp-brute

Print it using the short forms of both flags

arcsentry quiver get -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i rdp-brute

Print the arrow's on-disk TOML path so you can open and edit that file

arcsentry quiver get --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute | jq -r '.path'

arcsentry quiver validate

Check arrow TOML and print the document it parses to, without saving anything.

Nothing is written and no case is opened: the document is parsed, its query is compiled without running it, and the document is returned as it would be stored. Structure and vocabulary are checked here: at most one [action] table, which may set nothing, verdicts limited to legitimate, suspicious and malicious, MITRE technique and kill-chain ids checked against the known sets, a non-empty id, name and query body, and no key the arrow schema does not name. The query is compiled exactly as quiver create compiles it, and every id in [query].event_type is checked against the event-type catalog, and every field the body names must be a field of every event type declared there. A refusal exits 1 and names its stage, the field it concerns and, for a TOML syntax error, the line and column. Arcsentry records [source] when the arrow is saved, so a [source] table in the TOML is replaced.

arcsentry quiver validate [options]
OptionDescription
-T, --toml <toml> Arrow TOML given inline. Conflicts with --toml-file.
-F, --toml-file <toml-file> Read the arrow TOML from this file. Conflicts with --toml.

Examples

Check an arrow file before saving it

arcsentry quiver validate --toml-file /tmp/rdp-brute.toml

Check a short arrow saved in the working file

arcsentry quiver validate --toml-file /tmp/rdp-brute.toml

Check it using the short form of the flag

arcsentry quiver validate -F /tmp/rdp-brute.toml

Save it once it validates

arcsentry quiver create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --toml-file /tmp/rdp-brute.toml

arcsentry quiver run

Run a saved arrow against a case's evidence, annotate every match and print the run summary.

The run marks matches page by page and every match of all the evidence in scope is reached: when an evidence item cannot be read the run stops, names that evidence and why, says that the matches found before it stopped are marked, and exits non-zero. In JSON, the key hosts lists every evidence item the run covered (table heading Evidence), with its name, its match count, how many matches have no recorded time, and its earliest and latest match time in epoch milliseconds when any match carries one. Evidence in scope that has not been analyzed adds nothing and is listed under the key skipped_hosts (table heading Skipped evidence). --evidence narrows the run to the evidence that can be read, and a run is refused, with its own sentence, when the evidence in scope holds none of the declared event types or none of its records hold a field the query tests. --time-start and --time-end take an ISO 8601 timestamp with an offset or Z.

arcsentry quiver run --id <arrow-id> [options]
OptionDescription
-c, --case <case> Case UUID to run against. Required.
-i, --id <arrow-id>required Arrow id, as printed by quiver list.
-H, --evidence <evidence> Limit the run to the evidence with this UUID; omit for all the evidence in the case. Can be repeated.
-s, --time-start <time> Earliest event time to include, as an ISO 8601 timestamp in whole seconds with an offset or Z.
-E, --time-end <time> Latest event time to include, as an ISO 8601 timestamp in whole seconds with an offset or Z; the whole named second is included.
-f, --format <format> Output format: json (default) prints the run summary; jsonl writes each matched record as the page is marked, then the summary, and ends with a partial summary when the run stops. Default: "json".

Examples

Run an arrow across all the evidence in a case

arcsentry quiver run --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Stream each matched record as its page is marked, then the run summary

arcsentry quiver run --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute --format jsonl

Run it against one evidence item only

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

Run it over the night of the intrusion, in the collector's local offset

arcsentry quiver run --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute --time-start 2026-07-28T20:00:00-04:00 --time-end 2026-07-29T02:00:00-04:00

arcsentry quiver matches

Read the records an arrow matches now, one page at a time, without annotating anything.

Reads the records the arrow matches now, one page at a time, over the evidence in scope; nothing is annotated or marked. An arrow that filters on what it marks matches fewer records after a run. --evidence narrows the read, --time-start and --time-end take an ISO 8601 timestamp with an offset or Z. When more remain the page says so and names the flag that continues it.

arcsentry quiver matches --case <case> --id <arrow-id> [options]
OptionDescription
-c, --case <case>required Case UUID the arrow is read against. Required.
-i, --id <arrow-id>required Arrow id, as printed by quiver list.
-H, --evidence <evidence> Limit the read to the evidence with this UUID; omit for all the evidence in the case. Can be repeated.
-s, --time-start <time> Earliest event time to include, as an ISO 8601 timestamp in whole seconds with an offset or Z.
-E, --time-end <time> Latest event time to include, as an ISO 8601 timestamp in whole seconds with an offset or Z; the whole named second is included.
-l, --limit <limit> Records per page. The page says whether more remain and how to continue.
-C, --cursor <cursor> Continue after the last record of a page: pass the next_cursor that page printed, with the same other flags.

Examples

Read the first page of the records an arrow matches

arcsentry quiver matches --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Read 500 records of one evidence item per page

arcsentry quiver matches --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --limit 500

Continue after the page that printed next_cursor

arcsentry quiver matches --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute --cursor <next_cursor>

Read the matches of the night of the intrusion

arcsentry quiver matches --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute --time-start 2026-07-28T20:00:00-04:00 --time-end 2026-07-29T02:00:00-04:00

arcsentry quiver promote

Promote an arrow inside a case, marking it one worth keeping.

Promoting moves the arrow out of the case and into the global quiver, where every case can reach it: it is written globally, read back and checked, and only then removed from the case. A global arrow already stored under the same id is replaced. Afterwards quiver get --id finds it with no --case, while quiver run still requires the --case it is to run against.

arcsentry quiver promote --case <case> --id <arrow-id>
OptionDescription
-c, --case <case>required Case UUID the arrow is stored in. Required.
-i, --id <arrow-id>required Arrow id, as printed by quiver list.

Examples

Promote an arrow that found something real

arcsentry quiver promote --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Promote it using the short forms of both flags

arcsentry quiver promote -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i rdp-brute

Take the promotion back

arcsentry quiver demote --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Read the arrow back to confirm the change

arcsentry quiver get --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

arcsentry quiver demote

Take back an arrow's promotion inside a case.

Demoting moves the arrow out of the global quiver and into the case: it is written into the case, read back and checked, and only then removed globally. It is no longer reachable from any other case. An arrow already stored in the case under the same id is replaced by the global one, so read it with quiver get --case first if you need to keep it.

arcsentry quiver demote --case <case> --id <arrow-id>
OptionDescription
-c, --case <case>required Case UUID the arrow is stored in. Required.
-i, --id <arrow-id>required Arrow id, as printed by quiver list.

Examples

Demote an arrow that turned out to be noisy

arcsentry quiver demote --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Demote it using the short forms of both flags

arcsentry quiver demote -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i rdp-brute

Promote it again later

arcsentry quiver promote --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

Read the arrow back to confirm the change

arcsentry quiver get --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id rdp-brute

arcsentry quiver edit

Replace an arrow with an edited document.

Exactly one of --toml and --toml-file is required. The document's meta.id must be empty or equal to --id. The query is checked before the arrow is replaced, and the arrow's revision goes up by one. With --case the change is recorded in the case log with you as the actor, and needs the case to be free: close the desktop application on the case first.

arcsentry quiver edit --id <id> [options]
OptionDescription
-c, --case <case> Case UUID whose arrows are used. Without it the global arrows are used.
-i, --id <id>required Arrow id.
-T, --toml <toml> The replacement arrow as inline TOML. Conflicts with --toml-file.
-F, --toml-file <toml-file> Path of a file holding the replacement arrow. Conflicts with --toml.

Examples

Replace an arrow of a case with an edited file

arcsentry quiver edit --id rdp-brute --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --toml-file /tmp/rdp-brute.toml

Replace an arrow of the library with an edited file

arcsentry quiver edit --id rdp-brute --toml-file /tmp/rdp-brute.toml

Replace an arrow of a case using the short forms of the flags

arcsentry quiver edit -i rdp-brute -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -F /tmp/rdp-brute.toml

Replace a second arrow of a case with an edited file

arcsentry quiver edit --id brute-force-rdp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --toml-file /tmp/brute-force-rdp.toml

arcsentry quiver delete

Delete an arrow.

Asks for confirmation on a terminal; use --yes in scripts. With --case the deletion is recorded in the case log with you as the actor, and needs the case to be free.

arcsentry quiver delete --id <id> [options]
OptionDescription
-c, --case <case> Case UUID whose arrows are used. Without it the global arrows are used.
-i, --id <id>required Arrow id.
-y, --yes Delete without asking for confirmation.

Examples

Delete an arrow without a prompt

arcsentry quiver delete --id rdp-brute --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --yes

Delete an arrow of the library without a prompt

arcsentry quiver delete --id rdp-brute --yes

Delete an arrow of a case using the short forms of the flags

arcsentry quiver delete -i rdp-brute -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -y

Delete an arrow of a case after answering the confirmation prompt by hand

arcsentry quiver delete --id rdp-brute --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry quiver enable

Enable an arrow so that runs include it.

Enabling an arrow lets it run again from the library or from a case. With --case the change is recorded in the case log with you as the actor, and needs the case to be free.

arcsentry quiver enable --id <id> [options]
OptionDescription
-c, --case <case> Case UUID whose arrows are used. Without it the global arrows are used.
-i, --id <id>required Arrow id.

Examples

Enable an arrow

arcsentry quiver enable --id rdp-brute --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Enable an arrow of the library

arcsentry quiver enable --id rdp-brute

Enable an arrow of a case using the short forms of the flags

arcsentry quiver enable -i rdp-brute -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Enable a second arrow of a case

arcsentry quiver enable --id brute-force-rdp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry quiver disable

Disable an arrow so that runs skip it.

Disabling an arrow stops it from running until it is enabled again. With --case the change is recorded in the case log with you as the actor, and needs the case to be free.

arcsentry quiver disable --id <id> [options]
OptionDescription
-c, --case <case> Case UUID whose arrows are used. Without it the global arrows are used.
-i, --id <id>required Arrow id.

Examples

Disable an arrow

arcsentry quiver disable --id rdp-brute --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Disable an arrow of the library

arcsentry quiver disable --id rdp-brute

Disable an arrow of a case using the short forms of the flags

arcsentry quiver disable -i rdp-brute -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Disable a second arrow of a case

arcsentry quiver disable --id brute-force-rdp --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2