Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Mar 6, 2023
1 parent ed281fe commit 4ccb36c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4ccb36c

Please sign in to comment.