From a1334117127d9838872a5584a67794161671b693 Mon Sep 17 00:00:00 2001 From: Dan Moseley Date: Fri, 12 Jul 2024 08:42:40 -0600 Subject: [PATCH] add TSA config (#4860) * tsaconfig * more * remove the config per Matt * add policheck in 1ES template * policheck exclusions --- .config/PoliCheckExclusions.xml | 3 +++ .config/tsaoptions.json | 10 ++++++++++ eng/pipelines/azure-pipelines.yml | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 .config/PoliCheckExclusions.xml create mode 100644 .config/tsaoptions.json diff --git a/.config/PoliCheckExclusions.xml b/.config/PoliCheckExclusions.xml new file mode 100644 index 0000000000..2d682f5c64 --- /dev/null +++ b/.config/PoliCheckExclusions.xml @@ -0,0 +1,3 @@ + + + diff --git a/.config/tsaoptions.json b/.config/tsaoptions.json new file mode 100644 index 0000000000..4cc0bbfb2f --- /dev/null +++ b/.config/tsaoptions.json @@ -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", + "codebaseName": "aspire" +} \ No newline at end of file diff --git a/eng/pipelines/azure-pipelines.yml b/eng/pipelines/azure-pipelines.yml index 0030aa2989..23da6e3b42 100644 --- a/eng/pipelines/azure-pipelines.yml +++ b/eng/pipelines/azure-pipelines.yml @@ -95,6 +95,9 @@ extends: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates parameters: sdl: + policheck: + enabled: true + exclusionsFile: $(Build.SourcesDirectory)\.config\PoliCheckExclusions.xml eslint: enabled: false justificationForDisabling: 'see https://portal.microsofticm.com/imp/v3/incidents/incident/482258316/summary'