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

Disable Marketplace tasks

AZDO.1023HighAzure DevOpsPipelinesPreview 3.0

Part of Maester · Azure DevOps · Pipelines · All checks

Run this check
Invoke-Maester -TestId AZDO.1023

Disable the ability to install and run tasks from the Marketplace, which gives you greater control over the code that executes in a pipeline.

Rationale: Tasks from the marketplace should be reviewed and approved.

Enable the restriction to prevent marketplace tasks from executing in pipelines.

  1. Sign in to your organization.
  2. Choose Organization settings.
  3. Select Settings under Pipelines.
  4. Go to the section “Task restrictions” and turn on “Disable marketplace tasks”

Results: With this enabled, pipelines will not use tasks installed from the Marketplace. Jobs which depend on Marketplace tasks will fail.

Every attribute of this check
FieldValue
Test IDAZDO.1023
SeverityHigh
SuiteMaester
ProductAzure DevOps
FeaturePipelines
AreaEngineering systems
Resource typeTenant
User impactMedium
Implementation costHigh
MITRE ATT&CKT1195.001 Compromise Software Dependencies and Development Tools
Supports controlsnist-800-53-r5:CM-7, nist-800-53-r5:CM-11
PowerShell testTest-AzdoOrganizationTaskRestrictionsDisableMarketplaceTask
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/pipelines/security/overview?view=azure-devops#prevent-malicious-code-execution