bifroest audit verify
Checks journal integrity and trusted producer identity without exporting events.
1 | |
Syntax
Arguments
auditlogName
auditlogName selects a configured audit log and defaults to default locally and through @target. With --source, it labels the copied source rather than selecting a directory. Direct SSH requires the name explicitly.
Flags
Includes general executable flags.
--configuration
Local repository configuration; defaults to the platform path. Cannot be combined with --source or @target; unavailable over direct SSH.
--source
Complete local journal copy, including its signed head and required segments. Requires an independently trusted producer ID. Unavailable with @target or direct SSH.
--encryptionPublicKeyFile
Expected recipient for an encrypted offline --source. Required without a private key or with multiple decryption identities. With one private key, the recipient can be derived instead. Unavailable with @target or direct SSH.
--decryptionIdentityFile
Local private key for full verification of encrypted private fields; repeatable. The client can use X-AuditPrivateKey. Without a key, encrypted verification has outer scope; a supplied non-matching key fails. Unavailable over direct SSH.
--require-full
bool = false
Reject outer-only results. Available in all supported execution modes; direct SSH cannot fully verify encrypted content without a local recipient key, so that combination fails.
--expectedProducerId
string
Independent 64-hex signing producer ID. Configured local selection otherwise uses its signing key. Required for a copied source or provided through X-ExpectedProducerId for the client. Unavailable over direct SSH.
--format
string = "table"
Result format: table, json, yaml or cbor.
Output
The default status is verified (scope: outer) or verified (scope: full). Structured formats contain the verification result and scope. Success exits with status 0; a verification failure produces no success result.
The command can run while the service keeps writing; later events may be absent from the verified result. A standalone delivered segment is not a complete journal source. See verification scopes and evidence completeness.
Examples
Verify the configured journal while Bifröst runs
- Enable basic audit logging and generate an SSH connection.
-
On the host, run as the service user:
1bifroest audit verify default
Require full verification of encrypted remote evidence
- Configure the recipient, producer pin and local private key using the workstation guide.
-
Verify without exporting event content:
1bifroest @bifroest-admin audit verify evidence --require-full --format=json
Availability
linux |
darwin |
windows |
|---|---|---|
| / | / | / |
Invocation modes
| Local CLI | @target |
Direct SSH |
|---|---|---|
Local invocation supports configured and copied journals. Client-side remote verification downloads the journal and requires auditlogs.download, including outer-only verification. Direct-SSH verification requires auditlogs.verify.
Direct SSH accepts an explicit auditlog name, --require-full and --format. It verifies server-side evidence without downloading it or accepting a workstation decryption key. No artifact-transfer permission is needed for that verification.