File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ parameters:
18
18
- name : latest_ps
19
19
displayName : PowerShell Latest Version
20
20
type : string
21
- default : latest
21
+ default : 7.2.7
22
22
23
23
variables :
24
24
winAgentPoolName : pool-windows-2019
Original file line number Diff line number Diff line change @@ -53,19 +53,22 @@ jobs:
53
53
outputFormat : sarif
54
54
scanFolder : SecurityTmp
55
55
suppressionsFile : tools/SecurityTools/CredScanSuppressions.json
56
- - task : PowerShell@2
57
- displayName : Cleanup Build
58
- inputs :
59
- targetType : inline
60
- script : ./tools/CleanupBuild.ps1
61
- pwsh : true
56
+
62
57
- task : securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
63
58
displayName : Run BinSkim
64
59
inputs :
65
60
InputType : ' Basic'
66
61
Function : ' analyze'
67
- AnalyzeTarget : ' $(Build.SourcesDirectory)/artifacts/*.dll;$(Build.SourcesDirectory)/artifacts/*.exe'
62
+ AnalyzeTarget : ' $(Build.SourcesDirectory)/artifacts/Debug/ *.dll;$(Build.SourcesDirectory)/artifacts/*.exe'
68
63
AnalyzeStatistics : true
64
+
65
+ - task : PowerShell@2
66
+ displayName : Cleanup Build
67
+ inputs :
68
+ targetType : inline
69
+ script : ./tools/CleanupBuild.ps1
70
+ pwsh : true
71
+
69
72
- task : PoliCheck@1
70
73
displayName : Run PoliCheck
71
74
inputs :
You can’t perform that action at this time.
0 commit comments