last sync: 2020-Dec-03 15:30:53 UTC

Azure Policy definition

Private endpoint connections on Azure Synapse workspaces should be enabled

Name Private endpoint connections on Azure Synapse workspaces should be enabled
Azure Portal
Id 72d11df1-dd8a-41f7-8925-b05b960ebafc
Version 1.0.0
details on versioning
Category Synapse
Microsoft docs
Description Private endpoints can be configured to connect privately to an Azure Synapse workspace. This is used to enforce a secure communication channel to Azure Synapse workspace.
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
2020-11-17 14:39:37 add 72d11df1-dd8a-41f7-8925-b05b960ebafc
Used in Initiatives none
Json
{
  "properties": {
    "displayName": "Private endpoint connections on Azure Synapse workspaces should be enabled",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Private endpoints can be configured to connect privately to an Azure Synapse workspace. This is used to enforce a secure communication channel to Azure Synapse workspace.",
    "metadata": {
      "version": "1.0.0",
      "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"
}