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

Azure Policy definition

Azure Monitor Logs clusters should be encrypted with customer-managed key

Name Azure Monitor Logs clusters should be encrypted with customer-managed key
Azure Portal
Id 1f68a601-6e6d-4e42-babf-3f643a047ea2
Version 1.0.0
details on versioning
Category Monitoring
Microsoft docs
Description Create Azure Monitor logs cluster with customer-managed keys encryption. By default, the log data is encrypted with service-managed keys, but customer-managed keys are commonly required to meet regulatory compliance. Customer-managed key in Azure Monitor gives you more control over the access to you data, see https://docs.microsoft.com/azure/azure-monitor/platform/customer-managed-keys.
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-17 14:28:42 add 1f68a601-6e6d-4e42-babf-3f643a047ea2
Used in Initiatives
Initiative DisplayName Initiative Id Initiative Category State
[Preview]: NIST SP 800-53 Rev. 5 179d1daa-458f-4e47-8086-2a68d0d6c38f Regulatory Compliance Preview
FedRAMP High d5264498-16f4-418a-b659-fa7ef418175f Regulatory Compliance GA
FedRAMP Moderate e95f5a9f-57ad-4d03-bb0b-b1d16db93693 Regulatory Compliance GA
NIST SP 800-53 Rev. 4 cf25b9c1-bd23-4eb6-bd2c-f4f3ac644a5f Regulatory Compliance GA
JSON
{
  "properties": {
    "displayName": "Azure Monitor Logs clusters should be encrypted with customer-managed key",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Create Azure Monitor logs cluster with customer-managed keys encryption. By default, the log data is encrypted with service-managed keys, but customer-managed keys are commonly required to meet regulatory compliance. Customer-managed key in Azure Monitor gives you more control over the access to you data, see https://docs.microsoft.com/azure/azure-monitor/platform/customer-managed-keys.",
    "metadata": {
      "version": "1.0.0",
      "category": "Monitoring"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "The effect determines what happens when the policy rule is evaluated to match"
        },
        "allowedValues": [
          "audit",
          "deny",
          "disabled"
        ],
        "defaultValue": "audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.OperationalInsights/clusters"
          },
          {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "field": "Microsoft.OperationalInsights/clusters/keyVaultProperties.keyVaultUri",
                    "equals": ""
                  },
                  {
                    "field": "Microsoft.OperationalInsights/clusters/keyVaultProperties.keyVaultUri",
                    "exists": "false"
                  }
                ]
              },
              {
                "anyOf": [
                  {
                    "field": "Microsoft.OperationalInsights/clusters/keyVaultProperties.keyName",
                    "equals": ""
                  },
                  {
                    "field": "Microsoft.OperationalInsights/clusters/keyVaultProperties.keyName",
                    "exists": "false"
                  }
                ]
              },
              {
                "not": {
                  "field": "Microsoft.OperationalInsights/clusters/keyVaultProperties.keyVersion",
                  "exists": "true"
                }
              }
            ]
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/1f68a601-6e6d-4e42-babf-3f643a047ea2",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "1f68a601-6e6d-4e42-babf-3f643a047ea2"
}