last sync: 2021-Oct-22 15:42:38 UTC

Azure Policy definition

Azure Data Box jobs should use a customer-managed key to encrypt the device unlock password

Name Azure Data Box jobs should use a customer-managed key to encrypt the device unlock password
Azure Portal
Id 86efb160-8de7-451d-bc08-5d475b0aadae
Version 1.0.0
details on versioning
Category Data Box
Microsoft docs
Description Use a customer-managed key to control the encryption of the device unlock password for Azure Data Box. Customer-managed keys also help manage access to the device unlock password by the Data Box service in order to prepare the device and copy data in an automated manner. The data on the device itself is already encrypted at rest with Advanced Encryption Standard 256-bit encryption, and the device unlock password is encrypted by default with a Microsoft managed key.
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-12-11 15:42:52 add 86efb160-8de7-451d-bc08-5d475b0aadae
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
{
  "displayName": "Azure Data Box jobs should use a customer-managed key to encrypt the device unlock password",
  "policyType": "BuiltIn",
  "mode": "Indexed",
  "description": "Use a customer-managed key to control the encryption of the device unlock password for Azure Data Box. Customer-managed keys also help manage access to the device unlock password by the Data Box service in order to prepare the device and copy data in an automated manner. The data on the device itself is already encrypted at rest with Advanced Encryption Standard 256-bit encryption, and the device unlock password is encrypted by default with a Microsoft managed key.",
  "metadata": {
    "version": "1.0.0",
    "category": "Data Box"
  },
  "parameters": {
    "effect": {
      "type": "String",
      "metadata": {
        "displayName": "Effect",
        "description": "The desired effect of the policy"
      },
      "allowedValues": [
        "Audit",
        "Deny",
        "Disabled"
      ],
      "defaultValue": "Audit"
    },
    "supportedSKUs": {
      "type": "Array",
      "metadata": {
        "displayName": "Supported SKUs",
        "description": "The list of SKUs that support customer-managed key encryption key"
      },
      "allowedValues": [
        "DataBox",
        "DataBoxHeavy"
      ],
      "defaultValue": [
        "DataBox",
        "DataBoxHeavy"
      ]
    }
  },
  "policyRule": {
    "if": {
      "allOf": [
        {
          "field": "type",
          "equals": "Microsoft.DataBox/jobs"
        },
        {
          "field": "Microsoft.Databox/jobs/sku.name",
          "in": "[parameters('supportedSKUs')]"
        },
        {
          "field": "Microsoft.DataBox/jobs/details.keyEncryptionKey.kekType",
          "notEquals": "CustomerManaged"
        }
      ]
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
}