diff options
Diffstat (limited to 'caddytest')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/log_filters.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_filters.txt b/caddytest/integration/caddyfile_adapt/log_filters.txt index 5253529..776fa68 100644 --- a/caddytest/integration/caddyfile_adapt/log_filters.txt +++ b/caddytest/integration/caddyfile_adapt/log_filters.txt @@ -8,18 +8,21 @@ log { uri query { replace foo REDACTED delete bar + hash baz } request>headers>Authorization replace REDACTED request>headers>Server delete request>headers>Cookie cookie { replace foo REDACTED delete bar + hash baz } request>remote_ip ip_mask { ipv4 24 ipv6 32 } request>headers>Regexp regexp secret REDACTED + request>headers>Hash hash } } } @@ -52,10 +55,17 @@ log { { "name": "bar", "type": "delete" + }, + { + "name": "baz", + "type": "hash" } ], "filter": "cookie" }, + "request\u003eheaders\u003eHash": { + "filter": "hash" + }, "request\u003eheaders\u003eRegexp": { "filter": "regexp", "regexp": "secret", @@ -79,6 +89,10 @@ log { { "parameter": "bar", "type": "delete" + }, + { + "parameter": "baz", + "type": "hash" } ], "filter": "query" |