Status badges are private. Anonymous users can access the status badge API for all pipelines unless this option is enabled. Learn more: https://learn.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?#add-a-status-badge-to-your-repository
1. Navigate to Project Settings. 2. Open the Settings link under Pipelines. 3. Turn 'On' the setting 'Disable anonymous access to badges'.
{
"target": "ADOProjectPipelineGeneralSettings",
"if": {
"allOf": [
{
"resource": "ADOProjectPipelineGeneralSettings",
"property": "StatusBadgesArePrivate",
"operator": "equals",
"value": true
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions