-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(logs/azure): redact sensitive header when DEBUG is set #1218
fix(logs/azure): redact sensitive header when DEBUG is set #1218
Conversation
…edact-sensitive-header
…edact-sensitive-header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small comment on mutation and tests, otherwise LGTM, thanks!
…edact-sensitive-header
I made some changes to avoid cloning until we need to and to avoid using JSON round-tripping, lmk if that still looks good to you. |
@RobertCraigie The changes look goods to me. Thank you for the constructive feedback! |
So sorry this slipped through the cracks and wasn't merged earlier |
Changes being requested
Redact values for
authorization
andapi-key
whenDEBUG
value is set to true.Additional context & links
openai/openai-python#1850