Skip to content

Commit

Permalink
Switch APIScan to use a managed identity
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Mar 19, 2024
1 parent 7220c37 commit dd4956a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines/apiscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
value: $[ dependencies.Windows.outputs['nbgv.NBGV_MajorMinorVersion'] ]
- ${{ if eq(variables['system.collectionId'], '011b8bdf-6d56-4f87-be0d-0092136884d9') }}:
# https://dev.azure.com/devdiv/DevDiv/_wiki/wikis/DevDiv.wiki/25351/APIScan-step-by-step-guide-to-setting-up-a-Pipeline
- group: VSCloudServices-APIScan # Expected to provide ApiScanClientId, ApiScanSecret, ApiScanTenant
- group: VSEng sponsored APIScan # Expected to provide ApiScanClientId
steps:
# We need TSAOptions.json
- checkout: self
Expand All @@ -41,7 +41,7 @@ jobs:
toolVersion: Latest
preserveLogsFolder: true
env:
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(ApiScanSecret)
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId)

# File bugs when APIScan finds issues
- task: TSAUpload@2
Expand Down

0 comments on commit dd4956a

Please sign in to comment.