Merge pull request #16673 from aspnet/SDL
Enable SDL validation in rel/3.1
This commit is contained in:
commit
11a84e25b4
|
|
@ -65,7 +65,10 @@ variables:
|
|||
valule: test
|
||||
- name: _PublishArgs
|
||||
value: ''
|
||||
|
||||
# used for post-build phases, internal builds only
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
- group: DotNet-AspNet-SDLValidation-Params
|
||||
|
||||
stages:
|
||||
- stage: build
|
||||
displayName: Build
|
||||
|
|
@ -634,3 +637,17 @@ stages:
|
|||
enableSymbolValidation: false
|
||||
enableSigningValidation: false
|
||||
publishInstallersAndChecksums: true
|
||||
# This is to enable SDL runs part of Post-Build Validation Stage
|
||||
SDLValidationParameters:
|
||||
enable: true
|
||||
continueOnError: false
|
||||
params: ' -SourceToolsList @("policheck","credscan")
|
||||
-TsaInstanceURL $(_TsaInstanceURL)
|
||||
-TsaProjectName $(_TsaProjectName)
|
||||
-TsaNotificationEmail $(_TsaNotificationEmail)
|
||||
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
|
||||
-TsaBugAreaPath $(_TsaBugAreaPath)
|
||||
-TsaIterationPath $(_TsaIterationPath)
|
||||
-TsaRepositoryName "AspNetCore"
|
||||
-TsaCodebaseName "AspNetCore"
|
||||
-TsaPublish $True'
|
||||
|
|
|
|||
Loading…
Reference in New Issue