last sync: 2021-May-17 14:22:45 UTC

Azure Policy definition

Azure Synapse workspaces should use private link

Name Azure Synapse workspaces should use private link
Azure Portal
Id 72d11df1-dd8a-41f7-8925-b05b960ebafc
Version 1.0.1
details on versioning
Category Synapse
Microsoft docs
Description 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 Synapse workspace, data leakage risks are reduced. Learn more about private links at: https://docs.microsoft.com/azure/synapse-analytics/security/how-to-connect-to-workspace-with-private-links.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-03-09 14:37:41 change Patch (1.0.0 > 1.0.1) *changes on text case sensitivity are not tracked
2020-11-17 14:39:37 add 72d11df1-dd8a-41f7-8925-b05b960ebafc
Used in Initiatives none
JSON Changes

JSON
{
  "properties": {
    "displayName": "Azure Synapse workspaces should use private link",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "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 Synapse workspace, data leakage risks are reduced. Learn more about private links at: https://docs.microsoft.com/azure/synapse-analytics/security/how-to-connect-to-workspace-with-private-links.",
    "metadata": {
      "version": "1.0.1",
      "category": "Synapse"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Audit",
          "Disabled"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Synapse/workspaces"
          },
          {
            "count": {
            "field": "Microsoft.Synapse/workspaces/privateEndpointConnections[*]",
              "where": {
              "field": "Microsoft.Synapse/workspaces/privateEndpointConnections[*].privateLinkServiceConnectionState.status",
                "equals": "Approved"
              }
            },
            "less": 1
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/72d11df1-dd8a-41f7-8925-b05b960ebafc",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "72d11df1-dd8a-41f7-8925-b05b960ebafc"
}