AzureDevOps project Severitycritical builtIn

Description

Ensure project visibility is always private. Private projects require users to be granted access to the project and signed in to access the services.

Recommendation

1. Go to Project Overview -> Summary. 
2. On top right, make sure the project is labeled 'Private'.

Policy Rule

{
  "target": "ADOTeamProjectReference",
  "if": {
    "allOf": [
      {
        "resource": "ADOTeamProjectReference",
        "property": "Visibility",
        "operator": "equals",
        "value": "private"
      }
    ]
  },
  "then": {
    "effect": "Audit"
  }
}