From 4ccb36c2b57ad8479d128e2970ef49d415427dab Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Mon, 6 Mar 2023 10:31:37 -0700 Subject: [PATCH] address PR comments --- .../core/http/core-http-server-internal/src/http_server.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/core/http/core-http-server-internal/src/http_server.ts b/packages/core/http/core-http-server-internal/src/http_server.ts index a7e0906495dd1..7e08f46ca7663 100644 --- a/packages/core/http/core-http-server-internal/src/http_server.ts +++ b/packages/core/http/core-http-server-internal/src/http_server.ts @@ -527,10 +527,8 @@ export class HttpServer { xsrfRequired: route.options.xsrfRequired ?? !isSafeMethod(route.method), access: route.options.access ?? (route.path.startsWith('/internal') ? 'internal' : 'public'), }; - // Log HTTP API target consumer. Warning: may log sensitive information on paths including secrets - optionsLogger.debug( - `kibanaRouteOptions [${kibanaRouteOptions.access}] for path [${route.path}]` - ); + // Log HTTP API target consumer. + optionsLogger.debug(`access [${kibanaRouteOptions.access}] for path [${route.path}]`); this.server!.route({ handler: route.handler,