google-auth-library-python icon indicating copy to clipboard operation
google-auth-library-python copied to clipboard

[LOGGING] Hashing sensitive information is only supported for data of type `dict` or `list`

Open ohmayr opened this issue 7 months ago • 0 comments

Currently, we hash sensitive information from request / response logs only if the the type of request body or the return type of response.json() is a dictionary or a list. Otherwise, we don't hash anything. Instead, we log the type of the data.

Investigate the case(s) when the request body or the return type of response.json() is not a dictionary and determine if there's any sensitive information that needs to be hashed.

ohmayr avatar Mar 21 '25 20:03 ohmayr