From 6a6ed164b5592e5342e5cd91d895bed4bc65e957 Mon Sep 17 00:00:00 2001 From: Stella Huang Date: Wed, 18 Nov 2026 14:27:44 -0800 Subject: [PATCH] Use shared API Scan service connection Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- build/azure-pipelines/devdiv/python-extension-api.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/azure-pipelines/devdiv/python-extension-api.yml b/build/azure-pipelines/devdiv/python-extension-api.yml index 55c1b24e2511..7ca511d05046 100644 --- a/build/azure-pipelines/devdiv/python-extension-api.yml +++ b/build/azure-pipelines/devdiv/python-extension-api.yml @@ -231,8 +231,8 @@ extends: Get-Content -Path $configPath displayName: Generate TSA configuration - # DevDiv must provide the vscode-apiscan service connection and a secret - # APIScanConnectionString pipeline variable before this job can run. + # Pipeline definition 28954 must authorize the shared VSEng-APIScanSC + # service connection once before this job can run. - task: APIScan@2 inputs: softwareFolder: $(Agent.TempDirectory)/apiscan/package @@ -241,9 +241,8 @@ extends: symbolsFolder: 'SRV*https://symweb.azurefd.net;$(Agent.TempDirectory)/apiscan' isLargeApp: false toolVersion: Latest - azureSubscription: vscode-apiscan + azureSubscription: VSEng-APIScanSC env: - AzureServicesAuthConnectionString: $(APIScanConnectionString) SYSTEM_ACCESSTOKEN: $(System.AccessToken) displayName: Run API Scan