last sync: 2021-Mar-05 14:57:49 UTC

Azure Policy definition

Azure HDInsight clusters should use encryption at host to encrypt data at rest

Name Azure HDInsight clusters should use encryption at host to encrypt data at rest
Azure Portal
Id 1fd32ebd-e4c3-4e13-a54a-d7422d4d95f6
Version 1.0.0
details on versioning
Category HDInsight
Microsoft docs
Description Enabling encryption at host helps protect and safeguard your data to meet your organizational security and compliance commitments. When you enable encryption at host, data stored on the VM host is encrypted at rest and flows encrypted to the Storage service.
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-01-22 09:14:53 add 1fd32ebd-e4c3-4e13-a54a-d7422d4d95f6
Used in Initiatives none
Json
{
  "properties": {
    "displayName": "Azure HDInsight clusters should use encryption at host to encrypt data at rest",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Enabling encryption at host helps protect and safeguard your data to meet your organizational security and compliance commitments. When you enable encryption at host, data stored on the VM host is encrypted at rest and flows encrypted to the Storage service.",
    "metadata": {
      "version": "1.0.0",
      "category": "HDInsight"
    },
    "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.HDInsight/clusters"
          },
          {
            "anyOf": [
              {
                "field": "Microsoft.HDInsight/clusters/diskEncryptionProperties.encryptionAtHost",
                "exists": false
              },
              {
                "field": "Microsoft.HDInsight/clusters/diskEncryptionProperties.encryptionAtHost",
                "equals": false
              }
            ]
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/1fd32ebd-e4c3-4e13-a54a-d7422d4d95f6",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "1fd32ebd-e4c3-4e13-a54a-d7422d4d95f6"
}