diff options
author | Kévin Dunglas <dunglas@gmail.com> | 2021-11-23 18:00:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 10:00:20 -0700 |
commit | 789efa5deef53071b57479d37e4022bf372c4eef (patch) | |
tree | 6fd09f809735e2d47dfc361a2617008950630508 /caddytest/integration | |
parent | 8887adb027982e844965b4707b8595cee5845d54 (diff) |
logging: add a regexp filter (#4426)
Diffstat (limited to 'caddytest/integration')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/log_filters.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_filters.txt b/caddytest/integration/caddyfile_adapt/log_filters.txt index 2693e9c..1bef4c2 100644 --- a/caddytest/integration/caddyfile_adapt/log_filters.txt +++ b/caddytest/integration/caddyfile_adapt/log_filters.txt @@ -19,6 +19,7 @@ log { ipv4 24 ipv6 32 } + request>headers>Regexp regexp secret REDACTED } } } @@ -55,6 +56,11 @@ log { ], "filter": "cookie" }, + "request\u003eheaders\u003eRegexp": { + "filter": "regexp", + "regexp": "secret", + "value": "REDACTED" + }, "request\u003eheaders\u003eServer": { "filter": "delete" }, |