AzureDevOps organization Severityhigh builtIn

Description

Allow only administrators to create feeds in your organization.

Recommendation

1. Go to Artifacts. 
2. Click on Azure Artifacts Settings button. 
3. Review 'Who can create feeds' and select 'Only administrators and these users can create feeds'. Grant this permission to a limited set of users/groups.

Policy Rule

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