← Glossary
security

Audit Trail

An audit trail is a chronological, tamper-evident record of activities, interactions, and operations performed within a system, essential for security and compliance.

Because agents can perform actions on behalf of users, an audit trail is critical for accountability. It records who (user or agent) called which tool, with what arguments, and what the outcome was. If an agent deletes a repository or makes an unauthorized API call, an audit trail provides the forensic evidence needed for incident response.

Related terms
ai-gatewayrbacstructured-logging
Learn more
mcp-from-first-principles-to-production