Proxy-Wasm plugin that redacts sensitive HTTP responses.
$ cargo build --target wasm32-wasip1 --release
This example can be run with docker compose
and has a matching Envoy configuration.
$ docker compose up
Send HTTP request to localhost:10000/hello
:
$ curl localhost:10000/hello
Everyone may read this message.
Send HTTP request to localhost:10000/secret
:
$ curl localhost:10000/secret
Original message body (50 bytes) redacted.