SnoopConfig
class SnoopConfig
DSL for install(Snoop) { ... }. Everything is a lambda so the host filters and redacts with plain predicates. All lists are additive across multiple calls.
Properties
Functions
Link copied to clipboard
Rewrite captured body previews (request and response) before they are stored — e.g. blank out a JSON field. Transforms apply in registration order, after truncation; only the stored preview is affected, never the real traffic.
Link copied to clipboard
Redact matching headers with a visible placeholder. Matches on the header name. Authorization, Cookie and Set-Cookie are always redacted on top of these.
Link copied to clipboard
Redact matching query parameter values in the captured URL. Matches on the parameter name. Common secret-bearing parameters (api_key, token, ...) are always redacted on top of these.