Repository navigation
Conversation
…#1095) CodeQL alert 32 (py/clear-text-logging-sensitive-data) flags the print of `has_oauth` in scripts/orchestration_debug.py as a logged password. The value is only "yes" or "no". CodeQL classifies a value by the name of its variable, so rename the flag to `linked`. The script prints the same lines as before.
…1095) The CodeQL run on this branch reports no result on the changed lines, where main reports alert 32. Record the reason for the name next to it, so that a later rename does not bring the alert back.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1095
Area
cdk— infrastructure, handlers, constructsagent— Python runtime / Docker imagecli—bgagentclientdocs— guides or design sources (docs/guides/,docs/design/)tooling— rootmise.toml, scripts, CI workflowsRelated
py/clear-text-logging-sensitive-data), open onmainsince feat(orchestration): land the carved orchestration arc on main (S2–S8) #695.Changes
scripts/orchestration_debug.pyprints whether an orchestration row names an OAuth secret. The value is only"yes"or"no", but it was held in a variable namedhas_oauth, and CodeQL reports the print as a logged password.linked.The script's output is unchanged. I ran both modes (
rowsandlist) on the same DynamoDB JSON before and after the change, and the output is byte-identical.CodeQL result. The Python analysis of this branch reports no result on the changed lines, where
mainreports alert 32 on the same print. A pull-request analysis only reports results in changed lines, so the final confirmation is the analysis ofmainafter the merge: alert 32 should then show as fixed.Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.