last sync: 2020-Jul-02 13:28:37 UTC

Azure Policy

App Configuration should use a private link

Policy DisplayName App Configuration should use a private link
Policy Id ca610c1d-041c-4332-9d88-7ed3094967c7
Policy Category App Configuration
Policy Description This policy audits any App Configuration instance that does not use a private link.
Policy Mode Indexed
Policy Type BuiltIn
Policy in Preview FALSE
Policy Deprecated FALSE
Policy Effect Default: AuditIfNotExists
Allowed: (AuditIfNotExists,Disabled)
Roles used none
Policy Changes
Date/Time (UTC ymd) (i) Change Change detail
2020-02-12 02:52:44 add: Policy ca610c1d-041c-4332-9d88-7ed3094967c7
Used in Policy Initiative(s) none
Policy Rule
{
  "properties": {
    "displayName": "App Configuration should use a private link",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "This policy audits any App Configuration instance that does not use a private link.",
    "metadata": {
      "version": "1.0.0",
      "category": "App Configuration"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "AuditIfNotExists",
          "Disabled"
        ],
        "defaultValue": "AuditIfNotExists"
      }
    },
    "policyRule": {
      "if": {
        "field": "type",
        "equals": "Microsoft.AppConfiguration/configurationStores"
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections",
          "existenceCondition": {
            "field": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/privateLinkServiceConnectionState.status",
            "equals": "Approved"
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/ca610c1d-041c-4332-9d88-7ed3094967c7",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "ca610c1d-041c-4332-9d88-7ed3094967c7"
}