Status badges are private. Anonymous users can access the status badge API for all pipelines unless this option is enabled.
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