From fdff5cac7a64706d5518de8b11112541541044a4 Mon Sep 17 00:00:00 2001 From: Simon Schmidt Date: Tue, 2 Nov 2021 18:15:29 +0200 Subject: [PATCH] Treat x-api-key header as sensitive --- sentry_sdk/integrations/_wsgi_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sentry_sdk/integrations/_wsgi_common.py b/sentry_sdk/integrations/_wsgi_common.py index f874663883..f4cc7672e9 100644 --- a/sentry_sdk/integrations/_wsgi_common.py +++ b/sentry_sdk/integrations/_wsgi_common.py @@ -21,6 +21,7 @@ "HTTP_SET_COOKIE", "HTTP_COOKIE", "HTTP_AUTHORIZATION", + "HTTP_X_API_KEY", "HTTP_X_FORWARDED_FOR", "HTTP_X_REAL_IP", )