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

Anonymous access to pipeline badges

AZDO.1014MediumAzure DevOpsPipelinesPreview 3.0

Part of Maester · Azure DevOps · Pipelines · All checks

Run this check
Invoke-Maester -TestId AZDO.1014

Status badges in Azure DevOps should be disabled.

Rationale: Even in a private project, anonymous badge access is enabled by default. With anonymous badge access enabled, users outside your organization might be able to query information such as project names, branch names, job names, and build status through the badge status API.

Enable the restriction to prevent anonymous access to status badges.

  1. Sign in to your organization.
  2. Choose Organization settings.
  3. Select Settings under Pipelines.
  4. Enable the policy “Disable anonymous access to badges”

Results: Users outside of your organization cannot query information regarding your project names, branch names, job names, and build statuses through the badge status API.

Every attribute of this check
FieldValue
Test IDAZDO.1014
SeverityMedium
SuiteMaester
ProductAzure DevOps
FeaturePipelines
AreaExternal access and sharing
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1593.003 Code Repositories
PowerShell testTest-AzdoOrganizationBadgesArePrivate
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=net%2Cbrowser#add-a-status-badge-to-your-repository