Skip to content

Commit afef4b2

Browse files
authored
[ci] Improve binskim scan performance (#137)
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 577147e commit afef4b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ extends:
4242
sdl:
4343
${{ if eq('${{ parameters.Skip1ESComplianceTasks }}', 'true') }}:
4444
enableAllTools: false
45+
binskim:
46+
scanOutputDirectoryOnly: true
4547
codeql:
4648
runSourceLanguagesInSourceAnalysis: true
4749
suppression:

0 commit comments

Comments
 (0)