Skip to main content
Version: 3.0.0-preview

AZDO.1023 - Disable Marketplace tasks.

Overview​

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.

Remediation action​

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.

Test Metadata​

FieldValue
Test IDAZDO.1023
SeverityHigh
SuiteMaester
CategoryAzure DevOps
PowerShell testTest-AzdoOrganizationTaskRestrictionsDisableMarketplaceTask
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/pipelines/security/overview?view=azure-devops#prevent-malicious-code-execution
TagsAZDO, AZDO.1023

Source​