Logging and detection are how you learn that something went wrong and reconstruct what happened. For agents that means recording prompts, tool calls, approvals, and outbound requests in a structured form that your security team can search and alert on.
Read in this order
- OfficialLogging Cheat Sheet (OWASP)Start here: what to log, what to leave out, and how to protect the logs.
- OfficialBest Practices for Event Logging and Threat Detection (CISA and partners)Government-backed guidance on enterprise log collection and detection priorities.
- OfficialNIST SP 800-92 Rev. 1 (initial public draft): Cybersecurity Log Management Planning GuideA planning guide for log management programs, for going deeper on process.