Azure Devops
The Azure Devops scraper will create a new configuration item for each unique pipeline (combination of name and variables).
Each time the pipeline is run it will create a change for that configuration item.
azure-devops-scraper.yamlapiVersion: configs.flanksource.com/v1
kind: ScrapeConfig
metadata:
name: azure-devops-scraper
spec:
azureDevops:
- connection: connection://Azure Devops/Flanksource
projects:
- Demo1
pipelines:
- "adhoc-release"
- "git automation"
Scraper
Field | Description | Scheme | Required |
---|---|---|---|
logLevel | Specify the level of logging. | string | |
schedule | Specify the interval to scrape in cron format. Defaults to every 60 minutes. | string | |
retention | Settings for retaining changes, analysis and scraped items | Retention | |
azureDevops | Specifies the list of Azure DevOps configurations to scrape. | []AzureDevops |
AzureDevops
Field | Description | Scheme | Required |
---|---|---|---|
connection | Connection to use for Azure DevOps credential | string | |
organization | Specifies the name of the Azure DevOps organization to scrape | string | |
personalAccessToken | Specifies the personal access token to authenticate with Azure DevOps | []EnvVar | |
projects | Specifies the Azure DevOps projects to scrape | []string | true |
pipelines | Specifies the Azure DevOps pipelines to scrape | []string | true |
properties | Custom templatable properties for the scraped config items. | []ConfigProperty | |
transform | Field to transform result | Transform | |
tags | Set custom tags on the scraped config items | map[string]string |
note
Either the connection name or the credentials (organization & personalAccessToken) are required