Skip to content

Commit 88b9c69

Browse files
committed
Exclude xunit and verify binaries from binskim scans as we don't build them
1 parent 92e93ad commit 88b9c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ extends:
8787
templateContext:
8888
sdl:
8989
binskim:
90-
analyzeTargetGlob: +:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;
90+
analyzeTargetGlob: +:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\xunit*.dll;-:f|artifacts\bin\**\verify*.dll;
9191
# WORKAROUND: BinSkim requires the folder exist prior to scanning.
9292
preSteps:
9393
- powershell: New-Item -ItemType Directory -Path $(Build.SourcesDirectory)/artifacts/bin -Force

0 commit comments

Comments
 (0)