SEC-5Recommended
Log every request
Record every request the agent sends and every reply it gets, with the time.
How to do it
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. Write each entry as a structured log event.
How to 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.
Sources
Related rules
- OPS-6 Log structured events in Operations and observability
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/adversarial-testing/rules-of-engagement/log-every-request">Agent Wranglers adversarial testing playbook</a>. In code you write, add a comment next to it with the same link.