Docs
Plugins
Sources
Azure DevOps
Overview

Azure DevOps Source Plugin

Latest: v1.3.1

The CloudQuery Azure DevOps plugin reads information from your Azure DevOps account and loads it into any supported CloudQuery destination (e.g. PostgreSQL, Snowflake, BigQuery, and more).

Configuration

This example syncs from Azure DevOps to a destination. The (top level) source spec section is described in the Source Spec Reference.

kind: source
# Common source-plugin configuration
spec:
  name: azuredevops
  path: cloudquery/azuredevops
  version: "v1.3.1"
  tables: ["*"]
  destinations: ["postgresql"]

  # Azure DevOps specific configuration
  spec:
    personal_access_token: "${AZURE_DEVOPS_PERSONAL_ACCESS_TOKEN}"
    organization_url: "${AZURE_DEVOPS_ORGANIZATION_URL}"

This example uses the AZURE_DEVOPS_PERSONAL_ACCESS_TOKEN and AZURE_DEVOPS_ORGANIZATION_URL environment variables. You can also hardcode the values in the configuration file, but this is not advised for production settings.

For more information on downloading, installing and running the CloudQuery CLI, see the Quickstart guide.

Authentication

You will need an API token to access Azure DevOps resources. This can be obtained by creating an API token (opens in a new tab). It's recommended to allow only read access to the resources you need to sync.

Azure DevOps Spec

This is the (nested) spec used by the Azure DevOps source plugin.

  • personal_access_token (string, required):

    An API token to access Azure DevOps resources. This can be obtained by creating an API token (opens in a new tab). It's recommended to allow only read access to the resources you need to sync.

  • organization_url ([]string, required):

    The Azure DevOps organization URL. Should be in the format https://dev.azure.com/{organization}.