---
title: "Log every request · Agent Wranglers"
url: https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement/log-every-request
updated: 2026-10-20
licence: "All rights reserved"
---

# Log every request

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Required
- Chapter: [Rules of engagement](https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement)
- Rule: Record every request the agent sends and every reply it gets, with the time.
- How: Send the agent's traffic through a recording proxy, or log it in the test script. Keep the log with the report. It proves what was done, and it lets the owner match the test to their own logs.
- Check: Send 10 known requests through the agent. The log holds 10 entries, each with the time, the request and the reply. Every finding in the report links to the requests that prove it.

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers security testing playbook: https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement/log-every-request`.

- Previous: [Treat everything the target says as data](https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement/target-output-is-data)
- Next: [Rank findings by harm](https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement/rank-findings)
- [Rules of engagement](https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement)
