Skip to content

Audit events and refusal reasons

Fields of an entry in audit.jsonl

Field Description
n, prev, hash The number of the entry, the hash of the entry before it, and the hash of this entry.
ts The time.
event The event. See the tables below.
tool The tool, as server__tool. For a name that is not a known tool, the value is unknown tool.
actor The account. The value is always operator, the owner.
client The AI client. pat:<id> is an access token. console is a call by hand in the console.
ok, error, duration_ms The result of a call.
reason The reason for a refusal.
kind read or write.
approval The request ID of the approval, or the reason why no approval was necessary.
fingerprint The fingerprint of the tool definition.
found, found_out, found_back The types of data that data protection found. Never the values.

Arguments and results are not in the log.

Tool call events

Event Meaning
tool_call A call ran. ok shows the result.
tool_call.started A write tool is about to run. This entry is written before the call.
tool_call.denied A call was refused. See the reasons below.
tool_call.throttled A call was refused because of a limit.
tool_call.error The tool does not exist or is not available.
refusals.suppressed One AI client got more than 60 refusals in one minute. The next refusals in that minute are not recorded.

Governance events

Event Meaning
tool.held A new or changed tool went on hold.
tool.approve, tool.block You approved or blocked a tool.
approval.requested A call to a write tool started to wait.
approval.approved, approval.denied You approved or denied the call.
governance.approve_writes The approval requirement was turned on or off.
governance.filters The data protection rules changed.

Account and settings events

Event Meaning
owner.setup The owner account was created on the setup page.
person.password The owner changed the password.
person.reset The command --reset-password made a temporary password.
mfa.start, mfa.on, mfa.codes, mfa.off The owner started the setup of the authenticator app, turned the app on, made new recovery codes, or turned the app off.
mfa.policy The authenticator app requirement was turned on or off.
mfa.reset The command --reset-mfa reset the authenticator app.
tool.switch A single tool was turned off or on.
server.on, skill.on Cyproxy turned on a server because you connected its integration, or turned on the skill of an integration that came on. The reason is in the entry.
encryption.rekey The command line encrypted the stored secrets again with a new key.

Other events

Event Meaning
agent.question The Agent answered a question. The entry has the provider, the model and the token count.
skill.get An AI client read a skill.
collection.create, collection.delete A collection was created or deleted.

Refusal reasons

Reason Meaning
tool_unreviewed The tool is new and on hold.
tool_changed The tool definition changed and the tool is on hold.
tool_blocked You blocked the tool.
unchecked Cyproxy could not get the tool list of the server.
awaiting_approval The call waits for approval.
denied You denied the call.
paused All integrations are paused.
sensitive_data A data protection rule blocked the arguments.
filter_failed Cyproxy could not check the arguments.
too_big The arguments are too large.
unreadable The arguments cannot be shown exactly for review.
too_many Too many calls already wait for approval.