Skip to content

Stop logging Cybersixgill environment secrets - #14899

Open
idoshabi07 wants to merge 1 commit into
Azure:masterfrom
idoshabi07:ai-scan/cybersixgill-logging
Open

Stop logging Cybersixgill environment secrets#14899
idoshabi07 wants to merge 1 commit into
Azure:masterfrom
idoshabi07:ai-scan/cybersixgill-logging

Conversation

@idoshabi07

Copy link
Copy Markdown
Contributor

Summary

Removes the full process-environment dump that could expose connector credentials and storage settings.

AI scan items

Validation

Python compilation passed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ccff4d4a-3094-4de9-a5c0-d00c63d96a37
@idoshabi07
idoshabi07 requested review from a team as code owners August 13, 2026 12:11
@v-atulyadav v-atulyadav self-assigned this Aug 13, 2026
@v-atulyadav v-atulyadav added Solution Solution specialty review needed python Pull requests that update Python code labels Aug 13, 2026
@v-atulyadav
v-atulyadav requested a lite review from Copilot August 13, 2026 13:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Removes logging that dumps the entire process environment to prevent accidental exposure of connector credentials and storage configuration in logs.

Changes:

  • Removed logging.info(str(environ)) from the Azure Function entrypoint to avoid logging environment secrets.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code Solution Solution specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants