Repository navigation
{CI} Suppress CredScan false positives in regression tests - #10560
Merged
Naga Nandyala (naga-nandyala) merged 1 commit intoNov 5, 2026
Merged
Conversation
Add file-scoped suppressions for synthetic Logic Apps, Validate and VM Repair test credentials, following existing test-fixture suppressions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot stopped reviewing on behalf of
Naga Nandyala (naga-nandyala) due to an error
November 5, 2026 07:26
Collaborator
|
/azp run |
Yong Zhang (yonzhan)
approved these changes
Nov 5, 2026
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
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.
🤖 PR Validation —⚠️ Review suggested
This PR adds warning or check suppressions. Fix the underlying warning where possible and justify each remaining suppression in a code comment or the PR description.
10 added suppressions
scripts/ci/credscan/CredScanSuppressions.json"file": [scripts/ci/credscan/CredScanSuppressions.json"src\logicapp\azext_logicapp\tests\latest\test_offline_commands.py"scripts/ci/credscan/CredScanSuppressions.json"_justification": "[LogicApps] Synthetic connection strings used by offline tests for secret handling and deployment pa…scripts/ci/credscan/CredScanSuppressions.json"file": [scripts/ci/credscan/CredScanSuppressions.json"src\validate\azext_validate\tests\latest\test_validate_safety.py",scripts/ci/credscan/CredScanSuppressions.json"src\validate\azext_validate\tests\latest\test_validate_shell.py"scripts/ci/credscan/CredScanSuppressions.json"_justification": "[Validate] Dummy secrets used by tests that verify command values are not echoed in validation error…scripts/ci/credscan/CredScanSuppressions.json"file": [scripts/ci/credscan/CredScanSuppressions.json"src\vm-repair\azext_vm_repair\tests\latest\test_command_injection.py"scripts/ci/credscan/CredScanSuppressions.json"_justification": "[VM Repair] Dummy passwords used by mocked command-injection regression tests; not live credentials."Summary
Suppress all seven CSCAN-GENERAL0060 false positives blocking default-branch CI in run 20261105.12.
Add three justified, file-scoped entries to the existing CredScan suppression configuration:
These fixtures were introduced by #10467, #10461, and #10443 respectively. This follows the file-based false-positive suppression precedent in #10460 and #9692. Only the four named test files are excluded; production code, test behavior, the scanner, and its failure threshold are unchanged. All 39 existing suppression entries are preserved.
Validation
git diff --checkpassed.