From 6e775841709dc873cd6d65761bc025e9b22989a1 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Tue, 19 Mar 2024 13:38:10 -0700 Subject: [PATCH] Migrate API Scan --- eng/pipelines/MIDebugEngine-CI.yml | 4 +++- eng/pipelines/steps/APIScan.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/MIDebugEngine-CI.yml b/eng/pipelines/MIDebugEngine-CI.yml index 3f3bc40f4..5aa99c585 100644 --- a/eng/pipelines/MIDebugEngine-CI.yml +++ b/eng/pipelines/MIDebugEngine-CI.yml @@ -39,8 +39,10 @@ stages: - stage: CodeAnalysis dependsOn: [CI] + variables: + - group: VSEng sponsored APIScan jobs: - - template: ./jobs/MSHosted-Windows.job.yml + - template: ./jobs/VSEngSS-MicroBuild2022-1ES.job.yml parameters: DisplayName: 'CodeAnalysis' JobTemplate: diff --git a/eng/pipelines/steps/APIScan.yml b/eng/pipelines/steps/APIScan.yml index 4aa947f75..5ae4b69ff 100644 --- a/eng/pipelines/steps/APIScan.yml +++ b/eng/pipelines/steps/APIScan.yml @@ -38,4 +38,4 @@ steps: isLargeApp: false continueOnError: true env: - AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(MIEngineApiScan) \ No newline at end of file + AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId) \ No newline at end of file