Skip to content

Commit 074b282

Browse files
authored
[ci] Improve binskim scan performance (#11)
Context: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/binskim#limiting-binskim-to-output-directory-in-sdl-binary-analysis Attempts to speed up artifact publishing steps by telling `binskim` to only scan the directory that contains the artifacts being uploaded.
1 parent a1c1139 commit 074b282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-tools/automation/azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ extends:
4646
sdl:
4747
${{ if eq('${{ parameters.Skip1ESComplianceTasks }}', 'true') }}:
4848
enableAllTools: false
49+
binskim:
50+
scanOutputDirectoryOnly: true
4951
codeql:
5052
runSourceLanguagesInSourceAnalysis: true
5153
suppression:

0 commit comments

Comments
 (0)