|
10 | 10 | include:
|
11 | 11 | - latestw_all
|
12 | 12 |
|
13 |
| -#resources: |
14 |
| -# repositories: |
15 |
| -# - repository: ComplianceRepo |
16 |
| -# type: github |
17 |
| -# endpoint: ComplianceGHRepo |
18 |
| -# name: PowerShell/compliance |
| 13 | +resources: |
| 14 | + repositories: |
| 15 | + - repository: ComplianceRepo |
| 16 | + type: github |
| 17 | + endpoint: ComplianceGHRepo |
| 18 | + name: PowerShell/compliance |
19 | 19 |
|
20 | 20 | stages:
|
21 | 21 | - stage: Build
|
@@ -88,24 +88,35 @@ stages:
|
88 | 88 | Write-Host "##vso[artifact.upload containerfolder=$artifactName;artifactname=$artifactName;]$configFilePath"
|
89 | 89 | displayName: Upload Win32-OpenSSH build artifacts
|
90 | 90 |
|
91 |
| -#- stage: Compliance |
92 |
| -# displayName: Compliance |
93 |
| -# dependsOn: Build |
94 |
| -# jobs: |
95 |
| -# - job: ComplianceJob |
96 |
| -# pool: |
97 |
| -# vmImage: windows-latest |
98 |
| -# steps: |
99 |
| -# - checkout: self |
100 |
| -# clean: true |
101 |
| -# - checkout: ComplianceRepo |
102 |
| -# clean: true |
103 |
| -# - download: current |
104 |
| -# artifact: 'Microsoft.PowerShell.SecretManagement' |
105 |
| -# - template: ci-compliance.yml@ComplianceRepo |
106 |
| -# parameters: |
107 |
| -# # credscan |
108 |
| -# suppressionsFile: '' |
| 91 | +- stage: Compliance |
| 92 | + displayName: Compliance |
| 93 | + dependsOn: Build |
| 94 | + jobs: |
| 95 | + - job: ComplianceJob |
| 96 | + pool: |
| 97 | + vmImage: windows-latest |
| 98 | + steps: |
| 99 | + - checkout: self |
| 100 | + clean: true |
| 101 | + - checkout: ComplianceRepo |
| 102 | + clean: true |
| 103 | + - download: current |
| 104 | + artifact: 'Win32-OpenSSH' |
| 105 | + - template: ci-compliance.yml@ComplianceRepo |
| 106 | + parameters: |
| 107 | + # credscan |
| 108 | + suppressionsFile: '' |
| 109 | + # Documentation: https://eng.ms/docs/security-compliance-identity-and-management-scim/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/sdl-azdo-extension/security-analysis-report-build-task |
| 110 | + - task: securedevelopmentteam.vss-secure-development-tools.build-task-report.SdtReport@2 |
| 111 | + continueOnError: true |
| 112 | + displayName: 'Guardian Export' |
| 113 | + inputs: |
| 114 | + GdnExportVstsConsole: true |
| 115 | + GdnExportSarifFile: true |
| 116 | + GdnExportHtmlFile: true |
| 117 | + GdnExportAllTools: false |
| 118 | + GdnExportGdnToolCredScan: true |
| 119 | + #this didn't do anything GdnExportCustomLogsFolder: '$(Build.ArtifactStagingDirectory)/Guardian' |
109 | 120 |
|
110 | 121 | - stage: Test
|
111 | 122 | displayName: Test Win32-OpenSSH
|
|
0 commit comments