BUILD-10761: Fix credential guard SQ Analysis security hotspot #47
BUILD-10761: Fix credential guard SQ Analysis security hotspot #47
Conversation
SonarQube reviewer guide
|
SonarQube reviewer guide
|
SummaryFixes a SonarQube security hotspot by replacing hardcoded What reviewers should knowThe change is minimal and localized to one test file. Review focuses on: (1) confirm
|
There was a problem hiding this comment.
Conclusion: Minimal, correct fix. The hardcoded /tmp literal in the test is replaced with os.tmpdir() — the right approach for platform-portable temp path construction, and the proper way to resolve this class of SonarQube hotspot. The test behavior is identical; only the path construction changes.




Problem
All recent ~5 recent commits on master have been failing the SonarCloud Code Analysis check due to Security Hotspots, see screenshot below and link to hotspots.
What Changed?