Omit sensitive fields from logging #1113
Labels
code health
Changes about syntax, code health, etc.
core
python
Pull requests that update Python code
security-impact
Changes that affect security and users should keep an eye on
Some sensitive fields should be exempt from logging.
As seen in #1111, if we want to be precise, this requires a bit more thought than just parsing the JSON body of the request. Pydantic offers a potentially useful mechanism, https://docs.pydantic.dev/2.0/usage/types/secrets/.
The text was updated successfully, but these errors were encountered: