arcsentry config
Read and change this installation's settings.
Subcommands
- getPrint one setting, or every setting when no key is given.
- setChange one setting and print the settings that result.
Read and change this installation's settings.
Settings are installation-wide, not per case. Known keys: theme, dashboard_view_mode, cases_base_dir, max_concurrent_analyses, scratch_dir.
arcsentry config <subcommand> Examples
Print every setting
arcsentry config get Switch the interface to the light theme
arcsentry config set theme light Raise the number of evidence items analyzed at once
arcsentry config set max_concurrent_analyses 4 Stage extracted sources on a volume with room for them
arcsentry config set scratch_dir /mnt/scratch Subcommand reference
arcsentry config get
Print one setting, or every setting when no key is given.
What is printed is the stored settings merged over the built-in defaults, so a setting you have never changed reads as its default rather than as absent. scratch_dir reads as the directory analysis stages into once you have set one; while it is empty, each case stages inside its own directory. max_concurrent_analyses reads as the value Arcsentry will use: a stored value outside the accepted range is applied at the nearest bound, and the stored value is disclosed beside it under max_concurrent_analyses_bounds, which carries the accepted range and how many analyses this machine's memory admits at once. A never-configured installation is not an error; settings that are stored but unreadable are reported as an error rather than quietly replaced by the defaults, and a stored max_concurrent_analyses that is not a valid number of analyses is left out and reported under damaged in max_concurrent_analyses_bounds, with no analysis started until it is set again. A key that is not a setting is refused, not answered with an empty value.
arcsentry config get [options] | Option | Description |
|---|---|
| -f, --format <format> | Output format: json (default), jsonl, csv, or table. Default: "json". |
Examples
Print every setting as JSON
arcsentry config get Print just the configured theme
arcsentry config get theme Print every setting as a table
arcsentry config get --format table Print the directory analysis stages extracted sources into
arcsentry config get scratch_dir arcsentry config set
Change one setting and print the settings that result.
The value is checked before anything is written: max_concurrent_analyses must be a whole number within the accepted range, and a value outside it is refused as an argument error that names the range and the value given, leaving the stored settings untouched. The setting is an upper bound, not a promise: the document printed carries max_concurrent_analyses_bounds with the accepted range and how many analyses this machine's memory admits at once, which can be fewer than the value saved. One key is changed at a time: only that key is written over the stored settings, which are not read first, so a damaged stored value is replaced as it is saved; what is printed is the full settings document, not just the key you passed. A new max_concurrent_analyses takes effect as it is saved, without a restart. scratch_dir is where analysis stages the extracted source before it is parsed: left empty, each case stages inside its own directory, so the case volume needs room for the whole expanded source; set it to stage on another volume with that room, anywhere outside the source being read, and an empty value returns staging to the case directory.
arcsentry config set [options] | Option | Description |
|---|---|
| -f, --format <format> | Output format: json (default), jsonl, csv, or table. Default: "json". |
Examples
Create new cases on the evidence volume by default
arcsentry config set cases_base_dir /media/evidence/cases Change the dashboard layout and read the result as a table
arcsentry config set dashboard_view_mode grid --format table Stage extracted sources on a volume with room for the expanded archive
arcsentry config set scratch_dir /mnt/scratch Return staging to each case's own directory
arcsentry config set scratch_dir ""