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

Azure Policy definition

Azure Synapse workspaces should use customer-managed keys to encrypt data at rest

Name Azure Synapse workspaces should use customer-managed keys to encrypt data at rest
Azure Portal
Id f7d52b2d-e161-4dfa-a82b-55e564167385
Version 1.0.0
details on versioning
Category Synapse
Microsoft docs
Description Use customer-managed keys to control the encryption at rest of the data stored in Azure Synapse workspaces. Customer-managed keys deliver double encryption by adding a second layer of encryption on top of the default encryption with service-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
2020-11-17 14:39:37 add f7d52b2d-e161-4dfa-a82b-55e564167385
Used in Initiatives none
Json
{
  "properties": {
    "displayName": "Azure Synapse workspaces should use customer-managed keys to encrypt data at rest",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Use customer-managed keys to control the encryption at rest of the data stored in Azure Synapse workspaces. Customer-managed keys deliver double encryption by adding a second layer of encryption on top of the default encryption with service-managed keys.",
    "metadata": {
      "version": "1.0.0",
      "category": "Synapse"
    },
    "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.Synapse/workspaces"
          },
          {
            "field": "Microsoft.Synapse/workspaces/encryption.cmk.key.name",
            "exists": false
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/f7d52b2d-e161-4dfa-a82b-55e564167385",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "f7d52b2d-e161-4dfa-a82b-55e564167385"
}