Skip to content

Commit 503591a

Browse files
azure-powershell-botazurepowershell
andauthored
Sync tools folder from main branch to generation branch (#24947)
Co-authored-by: azurepowershell <[email protected]>
1 parent 606603a commit 503591a

File tree

97 files changed

+327991
-206871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+327991
-206871
lines changed

.azure-pipelines/security-tools.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,21 @@ jobs:
6060
targetType: inline
6161
script: ./src/lib/pdb/CopyPdbToArtifacts.ps1
6262
pwsh: true
63+
64+
- task: PowerShell@2
65+
displayName: Generate a response text file for BinSkim
66+
inputs:
67+
targetType: 'inline'
68+
script: |
69+
New-Item $(Build.SourcesDirectory)/artifacts/MyFileList.rsp -ItemType File -Force
70+
(Get-ChildItem -Path .\artifacts\Debug -Include *.dll,*.exe -Exclude msalruntime.dll,msalruntime_arm64.dll,msalruntime_x86.dll -Recurse).FullName > $(Build.SourcesDirectory)/artifacts/MyFileList.rsp
71+
pwsh: true
6372

6473
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
6574
displayName: Run BinSkim
6675
inputs:
67-
InputType: 'Basic'
68-
Function: 'analyze'
69-
AnalyzeTarget: '$(Build.SourcesDirectory)/artifacts/Debug/*.dll;$(Build.SourcesDirectory)/artifacts/*.exe'
70-
AnalyzeStatistics: true
76+
InputType: 'CommandLine'
77+
arguments: 'analyze @$(Build.SourcesDirectory)/artifacts/MyFileList.rsp --recurse'
7178

7279
- task: PowerShell@2
7380
displayName: Cleanup Build
@@ -88,4 +95,4 @@ jobs:
8895
inputs:
8996
artifactName: artifacts
9097
targetPath: artifacts
91-
...
98+
...
7.59 KB
Binary file not shown.
504 Bytes
Binary file not shown.
6.89 KB
Binary file not shown.
2 KB
Binary file not shown.
-408 Bytes
Binary file not shown.
Binary file not shown.
6.51 KB
Binary file not shown.
144 Bytes
Binary file not shown.
30.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)