Aralez Docs
v0.11.0 Download
Operations/Results & logging
Run lifecycle

Know exactly what is written, retained, and reported.

Aralez resolves its working directory, creates a local evidence archive, records acquisition activity, finalizes the writer, and only then performs optional destination dispatch.

Working directory and result naming

-w, --workdir <PATH>

The directory is created if needed and becomes the process working directory before archive and log paths are initialized. Relative output destinations therefore resolve from this directory.

output_filename

Base filename template. Only {{hostname}} and {{datetime}} are substituted; the timestamp format is local time YYYY-MM-DD_HH-MM-SS.

compression

Adds .zip or .tar.zst. The CLI --compression overrides the profile.

{{root_output_path}}

Expands to the run’s intermediate collection root in folder mode and is used to build logical entry paths in stream mode.

!
Same-second collisions

The default name has one-second precision. Two runs using the same hostname, directory, base name, and second can target the same files; archive creation may truncate an existing result. Use isolated work directories or a case-specific output_filename when concurrent/retried runs are possible.

Files created during a run

ItemFolder modeStream modeFinal state
Collected artifactsWritten below the intermediate result folderWritten as archive entriesInside final archive
config.ymlWritten to result folder before compressionAdded to archive when the writer is initializedInside final archive
Run logWritten on disk and added during compressionWritten on disk, then added during finalizationInside archive; temporary disk copy is cleaned after successful finalization
System/external stdoutWritten to configured tool-output fileCaptured in memory and added as an entryInside archive
Internal-tool outputWritten below tool output folderCreated temporarily, copied into archive, then removedInside archive
Intermediate result folderExists for acquisition and compressionNot used as the main evidence storeRemoved after successful archive creation

Console and log controls

-v, --verbosEnables verbose logging. The public flag is spelled verbos in this release.
--silentSuppresses the normal progress presentation for automation. A few low-level upload paths still use direct console printing, so it is not a contractual “zero stdout/stderr” mode.
Ctrl+CThe first interrupt requests a graceful stop between tasks and continues to writer finalization. A second interrupt forces process termination and can leave a partial archive.

The log is evidence metadata: preserve it with the archive. It records task activity and operational failures, but it is not a complete transcript of child processes because their standard error is discarded.

Completion, error propagation, and local retention

ConditionRun resultLocal archive
Collection and finalization succeed; no destinationNormal completionKept in work directory
CLI --output succeedsNormal completionRemoved for remote/different-folder destinations; kept if destination is its current directory
CLI --output failsError propagates; process reports failureKept for retry/recovery
One or more YAML destinations failFailure is logged; remaining destinations are attempted; collection can still complete normallyAlways kept
Archive initialization/finalization failsFatal errorMay be missing or partial; retain the log and inspect before retry
First Ctrl+CGraceful early stop when control returns between tasksFinalized archive containing work acquired so far
Second Ctrl+C, crash, or power lossForced/incompletePotentially partial; TAR.ZST is the more recovery-friendly format

Verify and register evidence

PowerShell
Get-FileHash Aralez_HOST_2026-08-14_16-22-09.zip -Algorithm SHA256
Get-Item Aralez_HOST_2026-08-14_16-22-09.zip |
  Select-Object Name, Length, CreationTimeUtc, LastWriteTimeUtc
shell
sha256sum Aralez_HOST_2026-08-14_16-22-09.tar.zst
stat Aralez_HOST_2026-08-14_16-22-09.tar.zst
  1. Confirm the finalizer completed. Check the process result and end of the embedded log; do not treat file presence alone as success.
  2. Hash the received copy. If dispatched, compare the source/receiver SHA-256 before source deletion whenever your orchestration permits.
  3. Record identity and scope. Target, operator, UTC start/end, binary hash/version/features, archive hash/size, profile, destination, and any errors.
  4. Inspect structure safely. Validate archive listing and expected config.yml/log entries in an analysis environment before ingesting untrusted files.
i
No automatic checksum manifest

Aralez does not currently create a cryptographic manifest for individual entries or the final archive. Add hashing and receipt registration to the calling deployment/orchestration workflow.