Skip to main content
Version: 3.0.0-preview

AZDO.1015 - Limit variables that can be set at queue time.

Overviewโ€‹

User-defined variables should not be able to override system variables or variables not defined by the pipeline author.

Rationale: Only those variables explicitly marked as "Settable at queue time" can be set by user.

Remediation actionโ€‹

Enable the policy to limit variables that can be set at queue time.

  1. Sign in to your organization.
  2. Choose Organization settings.
  3. Under the Pipelines section choose Settings.
  4. In the General section, toggle on "Limit variables that can be set at queue time".

Results: Only those variables explicitly marked as "Settable at queue time" can be set at queue time.

Test Metadataโ€‹

FieldValue
Test IDAZDO.1015
SeverityHigh
SuiteMaester
CategoryAzure DevOps
PowerShell testTest-AzdoOrganizationLimitVariablesAtQueueTime
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/pipelines/security/inputs?view=azure-devops#limit-variables-that-can-be-set-at-queue-time
TagsAZDO, AZDO.1015

Sourceโ€‹