Skip to content

Audit log

Cyproxy keeps two records of activity:

  • The Logs & Usage page shows the recent calls.
  • The file audit.jsonl is a log that shows if it was changed. Each entry contains the hash of the entry before it.

The audit log check

What the log records

Each entry records the time, the event, the tool, the AI client, the result, the approval and the tool fingerprint. The field actor is always operator, the owner.

The log does not record arguments or results.

See Audit events and refusal reasons for the list of events.

How the chain works

Each line of audit.jsonl is one JSON object with:

  • n: the number of the entry
  • prev: the hash of the entry before it
  • hash: the SHA-256 hash of this entry

If someone changes, removes or moves a line, the hashes after it do not agree.

Check the log

Open Governance → Audit log check. Cyproxy reads all entries and shows the result.

Keep a checkpoint

Someone with write access to the data volume can rewrite the complete log, or remove the last entries. The chain alone cannot show this.

A checkpoint is the number of entries and the last hash. To detect a rewrite:

  1. Copy the checkpoint from Governance → Audit log check.
  2. Keep it on a different system. For example, in a ticket or an email.
  3. Later, paste the checkpoint into Compare with a saved checkpoint.

If the log does not agree with the checkpoint, the log was changed.

Download the log

Select Download the log. The file is cyproxy-audit.jsonl.

Rules for writing the log

  • For a write tool, Cyproxy writes the log before the call. If it cannot write the log, it does not make the call.
  • A change to the rules is not saved if Cyproxy cannot record it.
  • A read tool still runs if the log cannot be written.
  • If one AI client gets more than 60 refusals in one minute, Cyproxy records one refusals.suppressed entry and does not record the next refusals in that minute.
  • Cyproxy does not delete audit.jsonl. The Logs & Usage page keeps entries for 365 days.