AzureDevOps organization high builtIn

Description

SSH authentication should be disabled. Learn more: https://learn.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops

Recommendation

1. Go to Organization Settings. 
2. Click on Security -> Policies. 
3. Application connection policies. 
4. Turn 'Off' the setting 'SSH authentication'.

Policy Rule

{
  "target": "ADOOrganizationPolicy",
  "if": {
    "allOf": [
      {
        "resource": "ADOOrganizationPolicy",
        "property": "Policy.Name",
        "operator": "equals",
        "value": "Policy.DisallowSecureShell"
      },
      {
        "resource": "ADOOrganizationPolicy",
        "property": "Policy.Value",
        "operator": "equals",
        "value": true
      }
    ]
  },
  "then": {
    "effect": "Audit"
  }
}