Commit c5824e4
Exclude .vscode-test/** from OneBranch SDL/CodeQL scans (#5457)
* Exclude .vscode-test/** from OneBranch SDL/CodeQL scans
The @vscode/test-electron package downloads VS Code Insiders binaries
into .vscode-test/ at test time for extension integration tests. This
directory is already in .gitignore but is present on disk when the
OneBranch async SDL scanner runs after 'Invoke-Build Test'.
The CodeQL SM04514 'Weak hashes' alert (S360/ADO #35101062) fires
against VS Code's own cliProcessMain.js inside this directory — code
that the PowerShell team has no ownership of or ability to fix.
Adding ob_sdl_codeql_pathsToExclude prevents future false-positive
alerts from third-party VS Code binary artifacts.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update comment for CodeQL scan exclusions
Clarified comment regarding exclusion of VS Code test binaries from CodeQL scans.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent bd33d21 commit c5824e4
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
0 commit comments