summaryrefslogtreecommitdiff
path: root/caddytest/integration
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration')
-rw-r--r--caddytest/integration/caddyfile_adapt/log_filters.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_filters.txt b/caddytest/integration/caddyfile_adapt/log_filters.txt
index 7873b1c..2693e9c 100644
--- a/caddytest/integration/caddyfile_adapt/log_filters.txt
+++ b/caddytest/integration/caddyfile_adapt/log_filters.txt
@@ -11,6 +11,10 @@ log {
}
request>headers>Authorization replace REDACTED
request>headers>Server delete
+ request>headers>Cookie cookie {
+ replace foo REDACTED
+ delete bar
+ }
request>remote_addr ip_mask {
ipv4 24
ipv6 32
@@ -37,6 +41,20 @@ log {
"filter": "replace",
"value": "REDACTED"
},
+ "request\u003eheaders\u003eCookie": {
+ "actions": [
+ {
+ "name": "foo",
+ "type": "replace",
+ "value": "REDACTED"
+ },
+ {
+ "name": "bar",
+ "type": "delete"
+ }
+ ],
+ "filter": "cookie"
+ },
"request\u003eheaders\u003eServer": {
"filter": "delete"
},