π Unattached Azure Managed Disk is not encrypted with Customer-managed key π’
- Contextual name: π Unattached Managed Disk is not encrypted with Customer-managed key π’
- ID:
/ce/ca/azure/virtual-machine/unattached-disk-encryption-with-cmk
- Located in: π Azure Virtual Machines
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-f63fd4f0
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-f63fd4f0 | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
Ensure that unattached disks in a subscription are encrypted with a Customer Managed Key (CMK).
Rationaleβ
Managed disks are encrypted by default with Platform-managed keys. Using Customer-managed keys may provide an additional level of security or meet an organization's regulatory requirements. Encrypting managed disks ensures that its entire content is fully unrecoverable without a key and thus protects the volume from unwarranted reads. Even if the disk is not attached to any of the VMs, there is always a risk where a compromised user account with administrative access to VM service can mount/attach these data disks, which may lead to sensitive information disclosure and tampering.
Impactβ
NOTE: You must have your key vault set up to utilize this. Encryption is available only on Standard tier VMs. This might cost you more.
Utilizing and maintaining Customer-managed keys will require additional work to create, protect, and rotate keys.
Auditβ
From Azure Portalβ
- Go to
Disks
.- Click on
Add Filter
.... see more
Remediationβ
Remediationβ
If data stored in the disk is no longer useful, refer to Azure documentation to delete unattached data disks at:
- https://docs.microsoft.com/en-us/rest/api/compute/disks/delete
- https://docs.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest#az-disk-delete
If data stored in the disk is important, To encrypt the disk refer azure documentation at: