Skip to content

Conversation

@dylanratcliffe
Copy link
Member

No description provided.

}
if resultStream.Err() != nil {
log.WithContext(ctx).WithFields(lf).WithError(err).Error("error streaming results")
log.WithContext(ctx).WithFields(lf).WithError(resultStream.Err()).Error("error streaming results")

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information

[Sensitive data returned by an access to apiKey](1) flows to a logging call.
Copy link
Contributor

@DavidS-ovm DavidS-ovm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ayup

@dylanratcliffe dylanratcliffe merged commit 0debfbf into main Aug 10, 2023
@dylanratcliffe dylanratcliffe deleted the fix-err-logging branch August 10, 2023 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants