Skip to content

overlane audit verify

Check the audit log's hash chain; exits 1 if a row was altered or removed

Updated View as MarkdownOpen in ChatGPTOpen in Claude

Re-computes the chain over the whole log on the service and reports how many rows were checked, the head hash and, when the chain is broken, where. A team-wide agent token or a person who manages members can do this. To check an exported file offline, use overlane enterprise audit verify.

Usage

overlane audit verify [--service URL] [--team TENANT_ID]

Flags

Flag Type Required Default Description
--service string no The service address (default: OVERLANE_SERVICE_URL, then the project’s binding, then the hosted service)
--team string no The team (tenant) to act on (default: the one your token belongs to)

Examples

overlane audit verify

Behavior

  • Effect: read (changes nothing).
  • Needs credentials: yes. Uses the network: yes.
  • Supports --dry-run: no. Accepts --force: no.
  • Machine-readable description: overlane schema 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": {
    "tenantId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      "description": "tenant identifier"
    },
    "ok": {
      "type": "boolean"
    },
    "checked": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "head": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "brokenAt": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "reason": {
      "type": "string",
      "enum": [
        "bad_hash",
        "bad_link",
        "bad_sequence",
        "wrong_tenant",
        "bad_category"
      ]
    }
  },
  "required": [
    "tenantId",
    "ok",
    "checked",
    "head"
  ],
  "additionalProperties": false
}

See exit codes for the status the process returns.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close

Overlane Agent

Ask about the docs. Answers are quoted from the pages, with links. This panel cannot change anything.

    Questions are answered in your browser from the docs index. Nothing you type here is stored or sent anywhere.