You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior:
Rally treats the Authorization header specified in client options like any other header, logging its value in rally.log. Rally should recognize the use of the header and not log its value.
Provide logs (if relevant):
2023-08-07 19:37:59,371 ActorAddr-(T|:46475)/PID:388 esrally.client.factory INFO Creating ES client connected to [{'host': 'target.es.host', 'port': 9200}] with options [{'use_ssl': True, 'headers': {'Authorization': 'ApiKey aE...=='}}]
The text was updated successfully, but these errors were encountered:
While you're at it, should probably avoid logging es-secondary-authorization and ES-Client-Authentication as well. Those can also carry credentials but only for specific workflows.
Rally version (get with
esrally --version
):2.9.0.dev0 (git revision: a7387ae7ddc53098d640130900a6f5cf2aa5c85e)
Invoked command:
esrally race --track=geonames --pipeline=benchmark-only --client-options='{"default": {"use_ssl": true, "headers":{"Authorization":"ApiKey aE...=="}}}' --target-hosts=target.es.host:9200 --kill-running-processes --test-mode
Description of the problem including expected versus actual behavior:
Rally treats the
Authorization
header specified in client options like any other header, logging its value in rally.log. Rally should recognize the use of the header and not log its value.Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: