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

Azure Policy definition

Public network access on Azure Data Factory should be disabled

Name Public network access on Azure Data Factory should be disabled
Azure Portal
Id 1cf164be-6819-4a50-b8fa-4bcaa4f98fb6
Version 1.0.0
details on versioning
Category Data Factory
Microsoft docs
Description Disabling the public network access property improves security by ensuring your Azure Data Factory can only be accessed from a private endpoint.
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-02-03 15:09:01 add 1cf164be-6819-4a50-b8fa-4bcaa4f98fb6
Used in Initiatives none
JSON
{
  "properties": {
    "displayName": "Public network access on Azure Data Factory should be disabled",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Disabling the public network access property improves security by ensuring your Azure Data Factory can only be accessed from a private endpoint.",
    "metadata": {
      "version": "1.0.0",
      "category": "Data Factory"
    },
    "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.DataFactory/factories"
          },
          {
            "field": "Microsoft.DataFactory/factories/publicNetworkAccess",
            "notEquals": "Disabled"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/1cf164be-6819-4a50-b8fa-4bcaa4f98fb6",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "1cf164be-6819-4a50-b8fa-4bcaa4f98fb6"
}