Record request headers and bodies and show them per catch
Headers and the first 8 KB of the body are stored unmasked for 30 days, read alongside the response so the trap answers as before. MCP get_request and the expanded catch row show them. Changelog prepared for 0.10.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a46727bab3
commit
b559f83550
35 files changed
+1012
-18
No files matched your search
@@ -24,7 +24,7 @@ public sealed class McpEndpointTests : IDisposable
|
||||
}
|
||||
|
||||
private static readonly string[] ReadTools =
|
||||
["get_stats", "list_active", "list_catches", "longest_catches", "lookup_ip", "top", "list_explanation_rules", "list_unexplained", "test_explanation_rule"];
|
||||
["get_stats", "get_request", "list_active", "list_catches", "longest_catches", "lookup_ip", "top", "list_explanation_rules", "list_unexplained", "test_explanation_rule"];
|
||||
|
||||
[Fact]
|
||||
public async Task Rejects_requests_without_token()
|
||||
@@ -81,6 +81,7 @@ public sealed class McpEndpointTests : IDisposable
|
||||
{ "get_stats", """{"period":"all"}""" },
|
||||
{ "get_stats", """{"period":"24h"}""" },
|
||||
{ "list_active", """{}""" },
|
||||
{ "get_request", """{"id":1}""" },
|
||||
{ "list_catches", """{}""" },
|
||||
{ "list_catches", """{"country":"CN","limit":1}""" },
|
||||
{ "top", """{"dimension":"ips","period":"all"}""" },
|
||||
|
||||
Reference in new issue
Block a user