Skip to content

Conversation

@pquentin
Copy link
Member

@pquentin pquentin commented Feb 9, 2024

By taking advantage of NodeApiResponse and avoiding meaningless differences. The closer they are, the easier they are to compare.

By taking advantage of NodeApiResponse and avoiding meaningless
differences.
@pquentin pquentin requested review from ezimuel and technige February 9, 2024 06:54
Copy link

@ezimuel ezimuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a comment about logging potential sensitive information.

% (method, node.base_url, target, "N/A", time.time() - start_time)
% (
method,
node.base_url,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a more general topics, we should remove potential sensitive information in the logger. In this case an URL can contains username:password and I'm not sure about target. We should think to have a filter or a redact strategy, here an example.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! We agreed offline to handle this in a different pull request, so I'll merge this one.

@pquentin pquentin merged commit 5ced8fb into elastic:main Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants