Skip to content
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

Make logger and cache region private #11327

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Make logger and cache region private #11327

merged 1 commit into from
Aug 22, 2024

Conversation

sbrunner
Copy link
Member

No description provided.

@@ -410,15 +410,15 @@

user, username, password, error = self._loginresetpassword()
if error is not None:
LOG.info(error)
_LOG.info(error)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (password)
as clear text.
return {"success": True}

if user.deactivated:
LOG.info("The user '%s' is deactivated", username)
_LOG.info("The user '%s' is deactivated", username)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (password)
as clear text.
@sbrunner sbrunner force-pushed the use-private-variables branch from 535fcc1 to ac3acf1 Compare August 21, 2024 13:32
@sbrunner sbrunner marked this pull request as ready for review August 22, 2024 12:08
@sbrunner sbrunner merged commit 08b0c48 into master Aug 22, 2024
15 of 16 checks passed
@sbrunner sbrunner deleted the use-private-variables branch August 22, 2024 12:08
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.

2 participants