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
{{ message }}
Repository navigation
Redact sensitive tokens in query objects when logging errors #707
When logging partial errors or exceptions in CommonLibrary.py and elsewhere, the raw query object is sometimes serialized and logged (e.g. json.dumps(query)). If the query contains token, refresh_token, or other credentials, they may leak in the logs.
We should apply censor_tokens() (or a similar redaction method) to the query objects before logging them.
This was noted during the review of PR #672.
Activity