bifroest audit merge
Verifies every selected journal before producing one chronological JSON Lines stream.
1 | |
Syntax
Arguments
auditlogName
One or more required auditlog names. Local inputs can also be complete evidence copies referenced by a dedicated configuration. There is no --source flag on merge. When journals are still being written, their results need not represent the same instant.
Flags
Includes general executable flags.
--configuration
Local repository configuration; defaults to the platform path. Unavailable with @target or direct SSH.
--decryptionIdentityFile
Local private key for encrypted confidential fields; repeat for different recipients. Keys are loaded only with --with-sensitive. The client can use X-AuditPrivateKey. Unavailable over direct SSH.
--with-sensitive
bool = false
Include private event fields. Every encrypted source then needs its matching private key.
--expectedProducerId
string
Trusted producer mapping <auditlogName>=<64-hex-id>; repeat for each independently trusted source. For one selected source, a plain producer ID is also accepted. Configured local sources otherwise use their signing identities. Remote multi-source merge needs explicit trust for every source; X-ExpectedProducerId supplies a default only when one source is selected. Unavailable over direct SSH.
--output
File Path = "-"
JSONL destination file or - for stdout. Its immediate parent must already exist. Named output is published only after successful verification and destination checks, including protection for unselected configured evidence. Client output paths are local to the workstation. Unavailable over direct SSH.
--force
bool = false
Replace an existing named output. Protected destinations remain protected. Unavailable over direct SSH.
Output
JSON Lines ordered by producer-signed timestamp. Ordering is deterministic when timestamps are equal. A producer's timestamp is not an independently trusted clock. The public view is redacted; sensitive output is plaintext. JSONL is unsigned and there is no --format flag.
All sources must verify before output is published. The merged JSONL result is limited to 128 MiB. See Output and errors.
Examples
Merge separately configured workload and administration logs
- Configure the two logs and generate workload and administration connections using the management guide.
-
On the host, export their public events in chronological order:
1bifroest audit merge workload administration --output /srv/audit-evidence/merged.jsonlThe destination directory must already exist and remain outside managed storage.
Merge complete offline copies without server signing keys
- Retain each source's producer ID independently. Copy each complete journal to the verification machine.
-
Point a dedicated configuration at those copies:
Verification workstation: /srv/audit-evidence/configuration.yaml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
auditlogs: first: identityFile: /srv/audit-evidence/absent-first-signing-key directory: /srv/audit-evidence/first-journal recording: directory: /srv/audit-evidence/first-recordings second: identityFile: /srv/audit-evidence/absent-second-signing-key directory: /srv/audit-evidence/second-journal recording: directory: /srv/audit-evidence/second-recordings session: type: fs storage: /srv/audit-evidence/session-inspection flows: - name: evidence-inspection auditlog: first authorization: type: none environment: type: dummyThis example selects clear journal copies. It is an inspection-only configuration, not a server setup. The placeholder signing-key files are intentionally absent.
-
Supply both independently retained IDs, replacing
FIRST_PRODUCER_IDandSECOND_PRODUCER_ID:1 2 3 4 5
bifroest audit merge first second \ --configuration /srv/audit-evidence/configuration.yaml \ --expectedProducerId first=FIRST_PRODUCER_ID \ --expectedProducerId second=SECOND_PRODUCER_ID \ --output /srv/audit-output/merged.jsonlWith explicit producer trust, the signing private keys are not opened or created. For encrypted copies, also configure each recipient public key, and supply local private keys with
--with-sensitivewhen confidential fields are needed.
Availability
linux |
darwin |
windows |
|---|---|---|
| / | / | / |
Invocation modes
| Local CLI | @target |
Direct SSH |
|---|---|---|
Client-side remote merge downloads the selected journals and requires auditlogs.download. Direct-SSH merge requires auditlogs.events, plus auditlogs.download for sensitive output.
Direct SSH accepts auditlog names and --with-sensitive, writes stdout and uses configured server trust. Sensitive output requires artifact-transfer permission. Use the integrated client for decrypting encrypted fields with workstation keys.