summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy/fastcgi/client_test.go
diff options
context:
space:
mode:
authorAaron Taylor <git@ataylor.io>2021-03-12 15:01:34 -0500
committerGitHub <noreply@github.com>2021-03-12 13:01:34 -0700
commitf137b82227f7b32b2ca036a89068c806a29a5ac7 (patch)
tree29bb7f2af1aa23f381151b353d32632b8d99bd9e /modules/caddyhttp/reverseproxy/fastcgi/client_test.go
parent2a127ac3d1650052f39e93f277e1dfd8c7c730e4 (diff)
logging: add replace filter for static value replacement (#4029)
This filter is intended to be useful in scenarios where you may want to redact a value with a static string, giving you information that the field did previously exist and was present, but not revealing the value itself in the logs. This was inspired by work on adding more complete support for removing sensitive values from logs [1]. An example use case would be the Authorization header in request log output, for which the value should usually not be logged, but it may be quite useful for debugging to confirm that the header was present in the request. [1] https://github.com/caddyserver/caddy/issues/3958
Diffstat (limited to 'modules/caddyhttp/reverseproxy/fastcgi/client_test.go')
0 files changed, 0 insertions, 0 deletions