Back to controls

Ensure that 'Virtual Machine's disk' are encrypted

### Description

Category

Controls

Medium

Applies to

Alibaba Cloud

Coverage

1 queries

Asset types

1 covered

Overview

Description

Ensure that disks are encrypted when they are created with the creation of VM instance.

Rationale

ECS cloud disk encryption protects your data at rest. The cloud disk data encryption feature automatically encrypts data when it is transferred from ECS instances to disks, and decrypts data when it is read from disks.

References

  1. https://www.alibabacloud.com/help/doc-detail/59643.htm

Additional Information

You cannot directly convert unencrypted disks to encrypted disks. You can encrypt system disks only when you are copying the custom images. You can encrypt the data disk by manually creating an encrypted data disk and then copy the data from the unencrypted disk to the new encrypted disk.

Remediation guidance

Via the management console

Encrypt a system disk when copying an image in the ECS console by following the below steps:

  1. Login to the ECS Console
  2. Under Instances & Images, select Instances
  3. Click Create Instance
  4. Under Instances & images, under Image, select Custom Images
  5. Select the target image and click copy Image in the Actions column
  6. In the Copy Image dialog box, check the Encrypt box and then select a key from the drop-down list
  7. Click OK

You can encrypt a data disk when creating an instance by following the below steps:

  1. Login to the ECS Console
  2. Under Instances & Images, select Instances
  3. Click Create Instance
  4. Under Storage, System Disk specify the disk category and its capacity and performance
  5. Select Encryption and then choose a key from the drop-down list

Service-wide remediation

Recommended when many resources are affected: fix the platform baseline first so new resources inherit the secure setting, then remediate the existing flagged resources in batches.

Alibaba Cloud

Use Resource Directory guardrails, account baselines, and IaC modules so the secure setting is applied consistently across environments.

Operational rollout

  1. Fix the baseline first at the account, subscription, project, cluster, or tenant scope that owns this control.
  2. Remediate the currently affected resources in batches, starting with internet-exposed and production assets.
  3. Re-scan and track approved exceptions with an owner and expiry date.

Query logic

These are the stored checks tied to this control.

'Virtual Machine's disk' are encrypted

Connectors

Alibaba Cloud

Covered asset types

VM

Expected check: eq []

vms(where:{diskAttachments_SOME:{disk: {encrypted:false}}}) {...AssetFragment}
Cyscale Logo
Cyscale is an agentless cloud-native application protection platform (CNAPP) that automates the contextual analysis of cloud misconfigurations, vulnerabilities, access, and data, to provide an accurate and actionable assessment of risk.

Stay connected

Receive new blog posts and product updates from Cyscale

By clicking Subscribe, I agree to Cyscale’s Privacy Policy


© 2026 Cyscale Limited

LinkedIn icon
Twitter icon
Facebook icon
crunch base icon
angel icon