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

Azure Policy definition

Azure API for FHIR should use private link

Name Azure API for FHIR should use private link
Azure Portal
Id 1ee56206-5dd1-42ab-b02d-8aae8b1634ce
Version 1.0.0
details on versioning
Category API for FHIR
Microsoft docs
Description Azure API for FHIR should have at least one approved private endpoint connection. Clients in a virtual network can securely access resources that have private endpoint connections through private links. For more information, visit: https://aka.ms/fhir-privatelink.
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-10 16:00:42 add 1ee56206-5dd1-42ab-b02d-8aae8b1634ce
Used in Initiatives none
Json
{
  "properties": {
    "displayName": "Azure API for FHIR should use private link",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Azure API for FHIR should have at least one approved private endpoint connection. Clients in a virtual network can securely access resources that have private endpoint connections through private links. For more information, visit: https://aka.ms/fhir-privatelink.",
    "metadata": {
      "version": "1.0.0",
      "category": "API for FHIR"
    },
    "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.HealthcareApis/services"
          },
          {
            "count": {
            "field": "Microsoft.HealthcareApis/services/privateEndpointConnections[*]",
              "where": {
              "field": "Microsoft.HealthcareApis/services/privateEndpointConnections[*].privateLinkServiceConnectionState.status",
                "equals": "Approved"
              }
            },
            "less": 1
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/1ee56206-5dd1-42ab-b02d-8aae8b1634ce",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "1ee56206-5dd1-42ab-b02d-8aae8b1634ce"
}