Re-computes the hash chain of the file and compares the row count, last sequence and head hash with the manifest, so a removed newest row is found as well. Needs no network and no account.
Usage
overlane enterprise audit verify file [--manifest FILE]Arguments
| Argument | Required | Description |
|---|---|---|
file |
yes | The exported CSV |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--manifest |
string | no | The manifest (default FILE.manifest.json) |
Examples
overlane enterprise audit verify audit.csvBehavior
- Effect:
read(changes nothing). - Needs credentials: no. Uses the network: no.
- Supports
--dry-run: no. Accepts--force: no. - Machine-readable description:
overlane schema enterprise audit verify.
Result
With --json (the default when stdout is not a terminal) the command prints this JSON Schema’s shape on stdout.
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tenantId": {
"type": "string"
},
"checked": {
"type": "number"
},
"head": {
"type": [
"string",
"null"
]
},
"manifestOk": {
"type": "boolean"
},
"brokenAt": {
"type": "number"
},
"reason": {
"type": "string"
}
},
"required": [
"ok",
"tenantId",
"checked",
"head",
"manifestOk"
],
"additionalProperties": false
}See exit codes for the status the process returns.