Skip to content

Conversation

@krishnprakash
Copy link
Owner

Potential fix for https://github.com/krishnprakash/cloudflare-docs/security/code-scanning/26

To fix the problem, we need to ensure that sensitive information such as client_secret is not logged in clear text. Instead of logging the client_secret, we can log a message indicating that a service token has been created and instruct the user to save the client_secret securely without including the actual secret in the log.

  • Remove the logging of client_secret in the message.
  • Update the log message to inform the user to save the client_secret securely without displaying it.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…ensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@krishnprakash krishnprakash marked this pull request as ready for review March 13, 2025 19:26
@krishnprakash krishnprakash merged commit 479765a into production Mar 13, 2025
9 checks passed
@krishnprakash krishnprakash deleted the alert-autofix-26 branch March 13, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants