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 |
permissions | Enable fetching pipeline permissions | Permissions | |
maxAge | Limit pipeline run scraping to runs within this age (e.g. 7d) | string | |
releases | Filter classic release pipelines by name or glob | []string | |
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 |
Permissions
| Field | Description | Scheme |
|---|---|---|
enabled | Enable fetching pipeline permissions | bool |
rateLimit | How often to refresh permissions (e.g. 6h, 24h). Defaults to 24h | string |
note
Either the connection name or the credentials (organization & personalAccessToken) are required