Skip to content

Audit evidence

Show someone else what your agents did and what was stopped, in a form they can check without trusting you.

Steps

  1. Share the summary

    Reports → Summary is one page for someone who has never opened AgentFox: what is running and what was stopped. Press Print / save as PDF to send it on. The CLI version below, and the SUMMARY.md in an evidence package, also list what rules in Watch would have stopped.

    bash
    agentfox report summary --since 30d --format html --out summary.html
  2. Check the audit log

    Every decision, approval and change is written to a hash-chained log. An edited or deleted entry breaks the chain. On Reports → Audit log, press Verify log.

    bash
    agentfox report verify

    It exits 1 on a break, so you can run it on a schedule and alert on it.

  3. See control status (Enterprise)

    Reports → Compliance maps 44 controls to the EU AI Act, ISO/IEC 42001, NIST AI RMF, SOC 2, OWASP and MITRE ATLAS. Each control's status is computed from your own traffic, not filled in on a form. Regulations shows each framework; Risk register holds one assessment per agent.

    Reports, Compliance: controls mapped to frameworks, with the evidence for each.
  4. Build an evidence package (Enterprise)

    On Reports → Evidence, choose the agents and period and press Build. Download gives you a zip.

    The zip holds the audit log, decisions, approvals, issues, control status and a summary. Building it signs a checkpoint over its newest audit entry, so you do not need to run agentfox admin checkpoint first. Building a package is itself written to the audit log.

What verify_chain.py checks

The auditor unzips the package and runs python3 verify_chain.py with any Python 3: no AgentFox, no call to your server. Without a key it checks that:

  • every file listed in manifest.json is there and matches its SHA-256, and no unlisted file was added;
  • every audit entry re-derives from its contents: the time, action and payload, and, for entries marked "digest_version": 2, who acted and on what (actor and subject). Older entries keep verifying under the first scheme, which did not cover actor and subject;
  • the entries form one unbroken chain: nothing deleted, inserted or reordered.

That proves the package is consistent, not that nobody changed it: whoever edits a file can recompute the manifest and the chain too, and the script says so. With AGENTFOX_AUDIT_SIGNING_KEY set to your audit signing key, it also checks manifest.sig (a signature over the manifest, so over every file) and every signed checkpoint. Only that run shows the package is the one you built. The key is an HMAC key: whoever holds it can also sign, so hand it to the auditor, not to the people whose work is being audited.

bash
unzip evidence.zip -d evidence && cd evidence
python3 verify_chain.py              # consistency only
export AGENTFOX_AUDIT_SIGNING_KEY    # set from your secret store, then:
python3 verify_chain.py              # manifest signature and checkpoints too

It exits 0 when everything it checked passed and 1 on any break, and names each one. An auditor who does not trust the copy inside the package can use their own copy of the script.

Framework mappings are drafts

Engineers mapped controls to clauses from the published texts. No counsel has reviewed them, and they are not legal advice. Each one is labelled DRAFT — UNVERIFIED until a named person signs it off: open a control on Compliance and use Record a review (written to the audit log, valid for 90 days), or hand the reviewer agentfox report review-packet (Enterprise).

Before you show checkpoints to anyone

Checkpoints are signed anchors over the log. Out of the box they use a published development key, so set AGENTFOX_AUDIT_SIGNING_KEY from your secret store first. Give the auditor the key separately; with it, verify_chain.py also checks the signatures.

Retention and legal hold

Settings → Retention sets how long each kind of data is kept. A kind with no period set is kept indefinitely. A daily job (or Run purge now) then:

  • deletes runs (with their spans, trace links and conversation turns) and decisions (with their detector runs and results) older than their period;
  • redacts prompt and response content, detection samples and eval output older than their period, keeping the row, its timing and its scores;
  • never touches the audit log: removing an entry would break the chain. Each purge is itself an audit entry with what it deleted and redacted.

Runs and decisions have separate periods, so a decision can outlive its run. Pages that still name such a run (a control's runs, the run page itself) say it was removed by retention and on which day, and SIEM events for the decision keep its agent. A legal hold stops the purge for the agents it names, or for everything. Changing a period and placing or releasing a hold are recorded on the audit log.

If something goes wrong

You seeDo this
Every compliance count is zeroPress Load control catalog, or run agentfox admin catalog sync (both Enterprise).
A control reads not implementedNothing in the window used it. It needs real traffic, not a recompute.
The package is nearly emptyNothing was recorded in that period, or the agents don't run through AgentFox.
checkpoint_signature from verify_chain.pyThe key is not the one the checkpoints were signed with. After a key rotation, give every key, comma-separated.
file_mismatch or manifest_signature from verify_chain.pyA file in the package was changed after it was built (or the key is wrong). Build a new package; do not hand over this one.