Skip to content

Commit 46d0e3c

Browse files
authored
chore: enable BinSkim on Linux (#278183)
1 parent 8cf3a21 commit 46d0e3c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build/azure-pipelines/linux/product-build-linux.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
NPM_ARCH: ${{ parameters.NPM_ARCH }}
3030
VSCODE_ARCH: ${{ parameters.VSCODE_ARCH }}
3131
templateContext:
32+
sdl:
33+
binskim:
34+
analyzeTargetGlob: '$(Agent.BuildDirectory)/VSCode-linux-$(VSCODE_ARCH)/**/*.node;$(Agent.BuildDirectory)/vscode-server-linux-$(VSCODE_ARCH)/**/*.node;$(Agent.BuildDirectory)/vscode-server-linux-$(VSCODE_ARCH)-web/**/*.node'
35+
preReleaseVersion: '4.3.1'
3236
outputParentDirectory: $(Build.ArtifactStagingDirectory)/out
3337
outputs:
3438
- ${{ if or(eq(parameters.VSCODE_RUN_ELECTRON_TESTS, true), eq(parameters.VSCODE_RUN_BROWSER_TESTS, true), eq(parameters.VSCODE_RUN_REMOTE_TESTS, true)) }}:

build/azure-pipelines/product-build-macos.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ extends:
5353
tsa:
5454
enabled: true
5555
configFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/tsaoptions.json
56-
binskim:
57-
analyzeTargetGlob: '+:file|$(Agent.BuildDirectory)/VSCode-*/**/*.exe;+:file|$(Agent.BuildDirectory)/VSCode-*/**/*.node;+:file|$(Agent.BuildDirectory)/VSCode-*/**/*.dll;-:file|$(Build.SourcesDirectory)/.build/**/system-setup/VSCodeSetup*.exe;-:file|$(Build.SourcesDirectory)/.build/**/user-setup/VSCodeUserSetup*.exe'
5856
codeql:
5957
runSourceLanguagesInSourceAnalysis: true
6058
compiled:

0 commit comments

Comments
 (0)