Skip to content

Commit

Permalink
chore: add TSAUpload step to Custom SDL stage (#231150)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 authored Oct 11, 2024
1 parent b38ae21 commit 39e24a5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions build/azure-pipelines/config/tsaoptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"codebaseName": "devdiv_microsoft_vscode",
"serviceTreeID": "79c048b2-322f-4ed5-a1ea-252a1250e4b3",
"instanceUrl": "https://devdiv.visualstudio.com/defaultcollection",
"projectName": "DevDiv",
"areaPath": "DevDiv\\VS Code (compliance tracking only)\\Visual Studio Code Client",
"notificationAliases": [
"monacotools@microsoft.com"
],
"validateToolOutput": "None",
"allTools": true
}
10 changes: 1 addition & 9 deletions build/azure-pipelines/product-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,7 @@ extends:
sdl:
tsa:
enabled: true
config:
codebaseName: 'devdiv_$(Build.Repository.Name)'
serviceTreeID: '79c048b2-322f-4ed5-a1ea-252a1250e4b3'
instanceUrl: 'https://devdiv.visualstudio.com/defaultcollection'
projectName: 'DevDiv'
areaPath: "DevDiv\\VS Code (compliance tracking only)\\Visual Studio Code Client"
notificationAliases: ['monacotools@microsoft.com']
validateToolOutput: None
allTools: true
configFile: $(Build.SourcesDirectory)/build/azure-pipelines/config/tsaoptions.json
codeql:
runSourceLanguagesInSourceAnalysis: true
compiled:
Expand Down
8 changes: 8 additions & 0 deletions build/azure-pipelines/win32/sdl-scan-win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,11 @@ steps:
ArtifactType: Container
PublishProcessedResults: false
AllTools: true

# TSA Upload
- task: securedevelopmentteam.vss-secure-development-tools.build-task-uploadtotsa.TSAUpload@2
displayName: TSA Upload
continueOnError: true
inputs:
GdnPublishTsaOnboard: true
GdnPublishTsaConfigFile: '$(Build.SourcesDirectory)/build/azure-pipelines/config/tsaoptions.json'

0 comments on commit 39e24a5

Please sign in to comment.