Skip to content

Commit

Permalink
Add tsaconfig to enable compliance tooling (#358)
Browse files Browse the repository at this point in the history
* tsaconfig

* tsaconfig

* new way

* Update azure-pipelines.yml
  • Loading branch information
danmoseley authored Jul 22, 2024
1 parent 4dad29a commit 0ad5779
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .config/CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions .config/PoliCheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<PoliCheckExclusions>

</PoliCheckExclusions>
10 changes: 10 additions & 0 deletions .config/tsaoptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"instanceUrl": "https://devdiv.visualstudio.com/",
"template": "TFSDEVDIV",
"projectName": "DEVDIV",
"areaPath": "DevDiv\\ASP.NET Core\\Policy Violations",
"iterationPath": "DevDiv",
"notificationAliases": [ "aspnetcore-build@microsoft.com" ],
"repositoryName": "aspire-samples",
"codebaseName": "aspire-samples"
}
5 changes: 5 additions & 0 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ extends:
image: 1es-windows-2022
os: windows
sdl:
policheck:
enabled: true
exclusionsFile: $(Build.SourcesDirectory)\.config\PoliCheckExclusions.xml
sbom:
# opting-out of SBOM generation as we don't produce artifacts
enabled: false
tsa:
enabled: true

stages:
- stage: build
Expand Down

0 comments on commit 0ad5779

Please sign in to comment.