Skip to content

Commit 733341b

Browse files
authored
Only winget rest source binaries for binskim (#300)
1 parent c2651cc commit 733341b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

pipelines/winget-cli-restsource-ci-pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ extends:
2424

2525
settings:
2626
# Builds from forked repos do not have permissions to set tags
27-
skipBuildTagsForGitHubPullRequests: true
27+
skipBuildTagsForGitHubPullRequests: true
28+
29+
sdl:
30+
binskim:
31+
analyzeTargetGlob: '$(Build.SourcesDirectory)\**\Microsoft.WindowsPackageManager.*.dll;$(Build.SourcesDirectory)\**\Microsoft.WinGet.*.dll;'
2832

2933
stages:
3034
- stage: Build_Publish_Test

pipelines/winget-cli-restsource-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ extends:
2727

2828
sdl:
2929
codeInspector:
30-
enabled: true
30+
enabled: true
31+
binskim:
32+
analyzeTargetGlob: '$(Build.SourcesDirectory)\**\Microsoft.WindowsPackageManager.*.dll;$(Build.SourcesDirectory)\**\Microsoft.WinGet.*.dll;'
3133

3234
stages:
3335
- stage: Build_Publish_Test

0 commit comments

Comments
 (0)