An audit log is a tamper-resistant record of who did what, when and from where in a system, kept for security review and accountability.
An audit log records security-relevant events in order: sign-ins, permission changes, secret reads, approvals, failed attempts and administrative actions. Each entry says who or what acted, what was done, on which resource, when, and from where. NIST SP 800-92 gives guidance on log management, and the OWASP Logging Cheat Sheet says what to record and, just as important, what never to put in logs, such as passwords, tokens and keys. Audit logs support incident response, since they show what a stolen credential was used for; compliance regimes such as SOC 2 and ISO 27001; and routine reviews of who has access. To be trustworthy they need integrity protection, restricted write and delete rights, retention periods and time synchronisation. For secrets and agents, an audit trail should show which agent used which credential for which task and whether a person approved it, without logging the credential itself. Missing or noisy logs are a common reason breaches go undetected. In a zero-knowledge design, logs can contain metadata such as timestamps and identifiers but not decrypted content. BotPassword records each agent intent, the grant that allowed it and its outcome, in an audit log that never contains secret values.