Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

Limit variables that can be set at queue time

AZDO.1015HighAzure DevOpsPipelinesPreview 3.0

Part of Maester · Azure DevOps · Pipelines · All checks

Run this check
Invoke-Maester -TestId AZDO.1015

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.

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.

Every attribute of this check
FieldValue
Test IDAZDO.1015
SeverityHigh
SuiteMaester
ProductAzure DevOps
FeaturePipelines
AreaEngineering systems
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1677 Poisoned Pipeline Execution
Supports controlsnist-800-53-r5:SI-10
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