Microsoft

One Pipeline to Rule Them All: Ensuring CodeQL Scanning Results and Dependency Scanning Results Go to the Intended Repository

May 21, 2025Michael Omokoh
One Pipeline to Rule Them All: Ensuring CodeQL Scanning Results and Dependency Scanning Results Go to the Intended Repository
SummaryAI, from the source post

This post introduces a solution for ensuring CodeQL and Dependency Scanning results are published to the correct repository in Azure DevOps pipelines, particularly in multi-repository scenarios. It details the use of the `advancedsecurity.publish.repository.infer: true` pipeline variable for inferred publishing and the `workspaceRepo: true` setting for explicitly identifying the target repository when multiple repositories are checked out. The post also covers error handling for inferred publishing and provides examples for both CodeQL and Dependency Scanning tasks.

More from the Azure Pipelines Supply Chain Security trail