AzureDevOps organization Severitylow builtIn

Description

Enable the setting 'Disable stage chooser'. With this enabled, users will not be able to select stages to skip from the Queue Pipeline panel.

Recommendation

1. Go to Organization Settings. 
2. Click on Pipelines -> Settings. 
3. Turn 'On' the setting 'Disable stage chooser'.

Policy Rule

{
  "target": "ADOOrganizationPipelineSettings",
  "if": {
    "allOf": [
      {
        "resource": "ADOOrganizationPipelineSettings",
        "property": "DisableStageChooser",
        "operator": "equals",
        "value": true
      }
    ]
  },
  "then": {
    "effect": "Audit"
  }
}