Skip to main content

Azure Devops

The Azure Devops scanner 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.

azureDevops:
- organization: <Org Name>
personalAccessToken:
valueFrom:
secretKeyRef:
name: ado-credentials
key: TOKEN
projects:
- <Project Name> # leave empty to select all projects
pipelines:
- <Pipeline Name> # leave empty to select all pipelines
type: Release # the change type the pipeline produces

Scraper

FieldDescriptionSchemeRequired
logLevelSpecify the level of logging.stringfalse
scheduleSpecify the interval to scrape in cron format. Defaults to every 60 minutes.stringfalse
fullSet to true to extract changes from scraped configurations. Defaults to false.boolfalse
retentionSettings for retaining changes, analysis and scraped itemsRetention
azureDevopsSpecifies the list of Azure DevOps configurations to scrape.[]AzureDevopsfalse

AzureDevops

FieldDescriptionSchemeRequired
idA static value or JSONPath expression to use as the ID for the resource.stringtrue
nameA static value or JSONPath expression to use as the Name for the resource. Default value is the id.stringfalse
itemsA JSONPath expression to use to extract individual items from the resourcestringfalse
typeA static value or JSONPath expression to use as the type for the resource.stringtrue
transformSpecify field to transform resultTransformfalse
formatFormat of config item, defaults to JSON, available options are JSONstringfalse
timestampFormatTimestampFormat is a Go time format string used to parse timestamps in createFields and DeletedFields. If not specified, the default is RFC3339.stringfalse
createFieldsCreateFields is a list of JSONPath expression used to identify the created time of the config. If multiple fields are specified, the first non-empty value will be used[]stringfalse
deleteFieldsDeleteFields is a JSONPath expression used to identify the deleted time of the config. If multiple fields are specified, the first non-empty value will be used[]stringfalse
organizationSpecifies the name of the Azure DevOps organization to scrapestringtrue
personalAccessTokenSpecifies the personal access token to authenticate with Azure DevOpskommons.EnvVartrue
projectsSpecifies the Azure DevOps projects to scrape[]stringfalse
pipelinesSpecifies the Azure DevOps pipelines to scrape[]stringfalse