Command-line reference

arcsentry incident

Rule on individual events, annotate them, and read back what is flagged.

Subcommands

Rule on individual events, annotate them, and read back what is flagged.

suspicious and malicious both count as flagged. A verdict is stored as an annotation against the event id rather than written into the record, which is immutable, and it is visible on the very next read. Each verdict also lands in the case log, so case-log shows who ruled on what and when.

arcsentry incident <subcommand>

Examples

List everything flagged in a case

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

Rule one event malicious

arcsentry incident flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --verdict malicious

Read one event in full

arcsentry incident record --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Search the flagged events for a term

arcsentry incident search --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --query psexec

Subcommand reference

arcsentry incident list

List the flagged events in a case page by page, narrowed by evidence, verdict, tag, or text.

Only flagged events appear here: a record ruled legitimate, or carrying no verdict, is not listed, and a --verdict other than suspicious or malicious is refused. A listing returns one page, newest event first, with undated events after every dated one. --evidence and --verdict keep those values and may be repeated, --tag keeps records carrying one tag, --query keeps events whose text contains every word, and --facets adds to a first page a count per day, with the events that have no recorded time under a null day, and in outside_calendar the events whose recorded time lies outside the calendar. --time-start and --time-end keep events whose own event time falls in a UTC window, and events with no recorded time are counted in timeless_excluded. A first page carries total, a next_cursor passed back with --cursor continues the listing, an untimed_from passed back with --cursor reads the events with no recorded time directly when a first page names one, and with --format jsonl or csv every page is written as it arrives.

arcsentry incident list --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-H, --evidence <evidence> Keep only events in the evidence with this UUID. Can be repeated.
-v, --verdict <verdict> Keep only events at this verdict, suspicious or malicious. Can be repeated.
-T, --tag <tag> Keep only events carrying this tag.
-l, --limit <limit> Events per page. The page says whether more remain and how to continue.
-C, --cursor <cursor> Continue after the last event of a page: pass the next_cursor that page printed, or a first page's untimed_from to read the events with no recorded time, with the same other flags.
-q, --query <query> Keep only the events whose text holds every word of this query.
-F, --facets Add to a first page printed as JSON how many selected events fall on each day, and how many have a recorded time outside the calendar.
-s, --time-start <time> Earliest event time to include, as an ISO 8601 timestamp with an offset or Z. Flagged events with no recorded time are left out and counted in timeless_excluded.
-E, --time-end <time> Latest event time to include, as an ISO 8601 timestamp with an offset or Z; the whole named second is included.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

List everything flagged in a case

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

List only what was ruled malicious

arcsentry incident list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --verdict malicious

Continue after the last event of a page with the cursor that page printed

arcsentry incident list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --limit 500 --cursor WyJ0IiwxNzgyNzM2MDAwMDAwLDQyXQ

List the events flagged inside a closed time window

arcsentry incident list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --time-start 2026-04-25T00:00:00Z --time-end 2026-04-27T23:59:59Z

arcsentry incident progression

Order the lanes of a case's flagged events by when each was first seen, with the time between steps.

Each lane is one value of the grouping --by names: a kill chain stage, an ATT&CK technique, an event type, or an evidence item; an event carrying several stages or techniques counts in each of their lanes. Lanes are ordered by the instant their first flagged event was recorded, ties in listing order, and each such lane is a step that states when its lane began, never that it caused the next; since previous is the exact time from the previous step's first event to this one's, to the millisecond (same instant when it is zero); the first step has none. Events with no stage or technique form their own lane after the others, and so do lanes whose events carry no recorded time; events with no recorded time, and events whose recorded time lies outside the calendar, are counted in their lanes and apart, and take no place in the order. --evidence, --verdict, --tag, --query, --time-start and --time-end select the same events incident list lists with the same flags, so a time window re-orders the lanes for that window, and events with no recorded time are then counted in timeless_excluded. Every time is printed in UTC, and --buckets adds each lane's columns and the whole record's density to the JSON document, each column with its start, its first and last event's instant, and its suspicious and malicious counts.

arcsentry incident progression --case <case> --by <grouping> [options]
OptionDescription
-c, --case <case>required Case UUID.
-b, --by <grouping>required The lanes to order: stage, technique, event_type, or evidence.
-H, --evidence <evidence> Keep only events in the evidence with this UUID. Can be repeated.
-v, --verdict <verdict> Keep only events at this verdict, suspicious or malicious. Can be repeated.
-T, --tag <tag> Keep only events carrying this tag.
-q, --query <query> Keep only the events whose text holds every word of this query.
-s, --time-start <time> Earliest event time to include, as an ISO 8601 timestamp with an offset or Z. Flagged events with no recorded time are left out and counted in timeless_excluded.
-E, --time-end <time> Latest event time to include, as an ISO 8601 timestamp with an offset or Z; the whole named second is included.
-B, --buckets <count> Also count each lane's events, and the whole record's once each, in columns of one width: the finest width that divides the time range, or without one the span from the first to the last recorded event, into no more than this many columns. Columns start at whole multiples of their width counted from 1 January 1970 UTC, so a span that holds times on both sides of that instant never fits in one column. The answer states the width as resolution_ms and says with finer_by_range whether a narrower time range gives finer columns. Printed only in the JSON document.
-f, --format <format> Output format: json (default), jsonl with one lane per line, csv, or table. Default: "json".

Examples

Order the kill chain stages by when each was first seen

arcsentry incident progression --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --by stage

Order the techniques of the malicious events and count them in columns, as JSON with times in milliseconds

arcsentry incident progression --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --by technique --verdict malicious --buckets 300 --format json

See which evidence item each step of a time window reached first

arcsentry incident progression --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --by evidence --time-start 2026-04-25T00:00:00Z --time-end 2026-04-27T23:59:59Z --format table

Order the event types flagged in one evidence item, as CSV

arcsentry incident progression --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --by event_type --evidence 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --format csv

arcsentry incident day-color

Colour the calendar days of the Timeline, clear a day's colour, and list the coloured days.

A day colour marks a calendar day of the case's Timeline, as the analyst does from the day's badge in the desktop application, where None clears it. The colours are the ones the help of incident day-color set --color names.

Examples

List the coloured days of a case

arcsentry incident day-color list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format table

Colour one day

arcsentry incident day-color set --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-08 --color warning

Remove the colour of that day

arcsentry incident day-color clear --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-08

Read the flagged events those days hold

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

arcsentry incident day-color set

Colour one calendar day of the Timeline.

--day is a calendar day, YYYY-MM-DD; a value that is not one is refused. --color names the colour; any other name is refused before the write. Colouring a day again replaces its colour, and incident day-color clear removes it. The colour is case bookkeeping and touches no evidence. The write is recorded in the case log with the actor, and the output lists every coloured day of the case by colour name.

arcsentry incident day-color set --case <case> --day <day> --color <color> [options]
OptionDescription
-c, --case <case>required Case UUID.
-d, --day <day>required Calendar day to colour, YYYY-MM-DD.
-o, --color <color>required Day colour: info, warning, error, suspect or intel.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Mark the day the intrusion began

arcsentry incident day-color set --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-08 --color warning

Mark the next day and read every coloured day as a table

arcsentry incident day-color set --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-09 --color suspect --format table

Recolour a day using the short forms of every flag

arcsentry incident day-color set -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -d 2026-06-08 -o intel -f json

Read the coloured days back

arcsentry incident day-color list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry incident day-color clear

Remove the colour of one calendar day of the Timeline.

--day is a calendar day, YYYY-MM-DD; a value that is not one is refused. Clearing a day that has no colour changes nothing and records nothing. The removal is case bookkeeping and touches no evidence; it is recorded in the case log with the actor, and the output lists the days still coloured, by colour name.

arcsentry incident day-color clear --case <case> --day <day> [options]
OptionDescription
-c, --case <case>required Case UUID.
-d, --day <day>required Calendar day whose colour to remove, YYYY-MM-DD.
-f, --format <format> Output format: json (default), jsonl, csv, or table. Default: "json".

Examples

Remove the colour of the day the intrusion began

arcsentry incident day-color clear --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-08

Remove another day's colour and read the days still coloured as a table

arcsentry incident day-color clear --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-09 --format table

Remove a day's colour using the short forms of every flag

arcsentry incident day-color clear -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -d 2026-06-08 -f json

Confirm the day is no longer coloured

arcsentry incident day-color list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry incident day-color list

List the coloured calendar days of the Timeline.

One row per coloured day, in day order, with its colour name. A case with no coloured day lists none.

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

Examples

List the coloured days as JSON

arcsentry incident day-color list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

List them as a table

arcsentry incident day-color list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format table

List them as CSV using the short forms of every flag

arcsentry incident day-color list -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -f csv

Colour a day before listing it

arcsentry incident day-color set --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --day 2026-06-08 --color error

arcsentry incident record

Print one event in full, with its verdict and annotations.

The record is resolved from the records of one evidence item by id, so --evidence-id is required and an id belonging to other evidence does not resolve. An id the case does not hold prints a null row and still exits zero, so a script must read the row rather than the exit code. Values Arcsentry keeps for its own use are removed before printing; what you get are the record's own fields as they were parsed at ingest, and records are immutable, so the same id reads the same body every time.

arcsentry incident record --case <case> --evidence-id <evidence-id> --event-id <event-id>
OptionDescription
-c, --case <case>required Case UUID.
-H, --evidence-id <evidence-id>required UUID of the evidence the event belongs to.
-e, --event-id <event-id>required Event id, as printed by incident list or a query.

Examples

Print one event in full

arcsentry incident record --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Print it using the short forms of every flag

arcsentry incident record -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 -e d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Find the event id first

arcsentry incident list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --verdict malicious

Rule on the record after reading it

arcsentry incident flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --verdict malicious

arcsentry incident flag

Record a verdict on one event.

With one --event-id the saved verdict is read back before it is reported, so what you see is what was stored; with several, they all take the verdict together and the answer counts the events it was written to. It is written as an annotation on --event-id within --evidence-id and marked as manually set, leaving the record itself untouched. A verdict_set entry is added to the case log at the same time, readable with case-log. When --event-id is a session's own record, the verdict reaches the session and every event it holds, as sessions flag does, and the case log entry is the session's.

arcsentry incident flag --case <case> --event-id <event-id> --evidence-id <evidence-id> [options]
OptionDescription
-c, --case <case>required Case UUID.
-e, --event-id <event-id>required Event id to rule on; every id given takes the same verdict, written together. Can be repeated.
-H, --evidence-id <evidence-id>required UUID of the evidence the event belongs to.
-v, --verdict <verdict> Verdict to record. Defaults to suspicious; suspicious and malicious both count as flagged. Default: "suspicious".

Examples

Rule one event malicious

arcsentry incident flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --verdict malicious

Mark an event suspicious, taking the default verdict

arcsentry incident flag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Rule two events malicious together, with the short form of every flag

arcsentry incident flag -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 -e d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 -e 6e41d0a2-5b78-4c93-a1f6-0d82b7c35e19 -v malicious

Confirm the verdict was stored

arcsentry incident list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --verdict malicious

arcsentry incident unflag

Clear the verdict on one record, keeping its other annotations.

Clearing removes the recorded verdict from the record, so it reads as unreviewed again; its tags, notes, summary, techniques and stages stay, and the annotation is printed after the clear. A record that carries no annotation holds no verdict to clear: nothing is written and null is printed. A record or evidence the case does not hold is refused, and the refusal is recorded in the case log as a failed operation. A verdict_cleared entry is added to the case log with you as the actor, readable with case-log. When --event-id is a session's own record, the clear reaches the session and every event it holds, as sessions unflag does, and the case log entry is the session's.

arcsentry incident unflag --case <case> --event-id <event-id> --evidence-id <evidence-id>
OptionDescription
-c, --case <case>required Case UUID.
-e, --event-id <event-id>required Event id, as printed by incident list or a query.
-H, --evidence-id <evidence-id>required UUID of the evidence the event belongs to.

Examples

Clear the verdict on one record

arcsentry incident unflag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Clear it using the short forms of every flag

arcsentry incident unflag -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 -e d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Read the record back to confirm the verdict was cleared

arcsentry incident record --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82

Read the audit entries the clears recorded

arcsentry case-log --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --action event.verdict_cleared

arcsentry incident annotate

Attach tags, notes, a summary, techniques, or kill-chain stages to one event.

Only the fields you pass are changed. --tags, --techniques, and --stages each take a comma-separated list. --techniques and --stages take only the ATT&CK technique ids and kill chain stages Arcsentry offers, so any other is refused before anything is written, and an empty --techniques or --stages clears it. --notes and --summary are each stored verbatim as a single string, commas included, and an empty --summary clears the summary.

arcsentry incident annotate --case <case> --evidence-id <evidence-id> --id <id> [options]
OptionDescription
-c, --case <case>required Case UUID.
-H, --evidence-id <evidence-id>required UUID of the evidence the event belongs to.
-i, --id <id>required Event id to annotate.
-T, --tags <tags> Comma-separated tags to set on the event.
-n, --notes <notes> Note text to store with the event.
-k, --techniques <techniques> Comma-separated ATT&CK technique ids Arcsentry offers, e.g. T1021.001; an empty value clears them.
-g, --stages <stages> Comma-separated kill chain stages Arcsentry offers, e.g. lateral-movement; an empty value clears them.
-s, --summary <summary> Event summary text to store with the record; an empty value clears it.

Examples

Tag one event and say why it matters

arcsentry incident annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --tags lateral-movement --notes "Inbound RDP from the reception laptop"

Record the MITRE technique and say in one line what the record shows

arcsentry incident annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --techniques T1021.001 --summary "Reception laptop opened an RDP session to the file server"

Record two tags and the stage in one call

arcsentry incident annotate --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --tags lateral-movement,confirmed --stages exploitation

Annotate using the short forms of every flag

arcsentry incident annotate -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 -i d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 -T reviewed -n "Benign: scheduled maintenance"

arcsentry incident untag

Remove tags from one record, keeping its other tags.

Every other tag stays, and so do the verdict, notes, summary, techniques and stages: the stored tags are read and written back without the ones you name, and the stored annotation is printed after the write. --tag may be repeated or given one comma-separated list, and a tag list with no tag in it is refused before anything is read. When the record carries none of the tags you name, nothing is written and the stored annotation is printed as it is, null when the record carries no annotation. A record or evidence the case does not hold is refused. A write adds an Event updated entry to the case log with you as the actor.

arcsentry incident untag --case <case> --event-id <event-id> --evidence-id <evidence-id> --tag <tag>
OptionDescription
-c, --case <case>required Case UUID.
-e, --event-id <event-id>required Event id, as printed by incident list or a query.
-H, --evidence-id <evidence-id>required UUID of the evidence the event belongs to.
-T, --tag <tag>required Tag to remove, or several in one comma-separated list. Can be repeated.

Examples

Remove one tag from a record

arcsentry incident untag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --tag lateral-movement

Remove two tags in one call

arcsentry incident untag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --tag reviewed --tag lateral-movement

Name the two tags as one comma-separated list

arcsentry incident untag --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --evidence-id 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 --event-id d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 --tag reviewed,lateral-movement

Remove a tag using the short forms of every flag

arcsentry incident untag -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -H 8c3d1e77-9f42-4a6b-b810-2e5d47c9a013 -e d24b7f60-15ae-4c33-8b09-3f7e1a9c5d82 -T reviewed