Skip to main content
Version: 3.0.0-preview

AZDO.1014 - Anonymous access to pipeline badges.

Overviewโ€‹

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.

Remediation actionโ€‹

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.

Test Metadataโ€‹

FieldValue
Test IDAZDO.1014
SeverityMedium
SuiteMaester
CategoryAzure DevOps
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
TagsAZDO, AZDO.1014

Sourceโ€‹