last sync: 2021-Aug-04 14:59:26 UTC

Azure Policy definition

Azure Web PubSub Service should use a SKU that supports private link

Name Azure Web PubSub Service should use a SKU that supports private link
Azure Portal
Id 82909236-25f3-46a6-841c-fe1020f95ae1
Version 1.0.0
details on versioning
Category Web PubSub
Microsoft docs
Description With supported SKU, Azure Private Link lets you connect your virtual network to Azure services without a public IP address at the source or destination. The Private Link platform handles the connectivity between the consumer and services over the Azure backbone network. By mapping private endpoints to Azure Web PubSub service, you can reduce data leakage risks. Learn more about private links at: https://aka.ms/awps/privatelink.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Deny, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-05-26 13:43:16 add 82909236-25f3-46a6-841c-fe1020f95ae1
Used in Initiatives none
JSON
{
  "properties": {
    "displayName": "Azure Web PubSub Service should use a SKU that supports private link",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "With supported SKU, Azure Private Link lets you connect your virtual network to Azure services without a public IP address at the source or destination. The Private Link platform handles the connectivity between the consumer and services over the Azure backbone network. By mapping private endpoints to Azure Web PubSub service, you can reduce data leakage risks. Learn more about private links at: https://aka.ms/awps/privatelink.",
    "metadata": {
      "version": "1.0.0",
      "category": "Web PubSub"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Audit",
          "Deny",
          "Disabled"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.SignalRService/webPubSub"
          },
          {
            "field": "Microsoft.SignalRService/webPubSub/sku.tier",
            "equals": "Free"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/82909236-25f3-46a6-841c-fe1020f95ae1",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "82909236-25f3-46a6-841c-fe1020f95ae1"
}