From a485dc4c6253d2fa8248ca01b176d0a2ae3210fa Mon Sep 17 00:00:00 2001 From: Ryan Ling Date: Tue, 2 Apr 2024 10:28:39 +1100 Subject: [PATCH] fix: Redact `user-email` header (#238) --- src/requestLogging/requestLogging.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/requestLogging/requestLogging.ts b/src/requestLogging/requestLogging.ts index b5245af..1a633f4 100644 --- a/src/requestLogging/requestLogging.ts +++ b/src/requestLogging/requestLogging.ts @@ -34,6 +34,7 @@ export const SENSITIVE_HEADER_REPLACEMENTS: HeaderReplacements = { 'authenticated-user': REDACTED_HEADER, authorization: REDACTED_HEADER, cookie: REDACTED_HEADER, + 'user-email': REDACTED_HEADER, 'x-seek-oidc-identity': REDACTED_HEADER, };