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

Azure Policy definition

Application Insights components with Private Link enabled should use Bring Your Own Storage accounts for profiler and debugger.

Name Application Insights components with Private Link enabled should use Bring Your Own Storage accounts for profiler and debugger.
Azure Portal
Id 0c4bd2e8-8872-4f37-a654-03f6f38ddc76
Version 1.0.0
details on versioning
Category Monitoring
Microsoft docs
Description To support private link and customer-managed key policies, create your own storage account for profiler and debugger. Learn more in https://docs.microsoft.com/azure/azure-monitor/app/profiler-bring-your-own-storage
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Deny, Audit, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-06-22 14:29:30 add 0c4bd2e8-8872-4f37-a654-03f6f38ddc76
Used in Initiatives none
JSON
{
  "properties": {
    "displayName": "Application Insights components with Private Link enabled should use Bring Your Own Storage accounts for profiler and debugger.",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "To support private link and customer-managed key policies, create your own storage account for profiler and debugger. Learn more in https://docs.microsoft.com/azure/azure-monitor/app/profiler-bring-your-own-storage",
    "metadata": {
      "version": "1.0.0",
      "category": "Monitoring"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Deny",
          "Audit",
          "Disabled"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Insights/components"
          },
          {
            "field": "Microsoft.Insights/components/ForceCustomerStorageForProfiler",
            "notEquals": "true"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/0c4bd2e8-8872-4f37-a654-03f6f38ddc76",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "0c4bd2e8-8872-4f37-a654-03f6f38ddc76"
}