Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Enable SDL validation in rel/3.1 #1924

Merged
merged 3 commits into from Oct 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions azure-pipelines.yml
Expand Up @@ -15,6 +15,9 @@ variables:
value: ASPNETBLAZOR
- name: Build.Repository.Clean
value: true
# 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

# CI and PR triggers
trigger:
Expand Down Expand Up @@ -124,3 +127,17 @@ stages:
enableSourceLinkValidation: false
# See https://github.com/dotnet/arcade/issues/2871
enableSymbolValidation: false
# 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 "Blazor"
-TsaCodebaseName "Blazor"
-TsaPublish $True'