Beta - disk encryption disabled
This product is not supported for your selected
Datadog site. (
).
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Id: 1ee0f202-31da-49ba-bbce-04a989912e4b
Cloud Provider: TencentCloud
Platform: Terraform
Severity: Medium
Category: Encryption
Learn More
Description
Disks should have encryption enabled.
This rule checks tencentcloud_cbs_storage resources and flags when the encrypt attribute is missing or set to false.
The encrypt attribute must be set to true to ensure block storage volumes are encrypted.
Compliant Code Examples
resource "tencentcloud_cbs_storage" "encrytion_negative1" {
storage_name = "cbs-test"
storage_type = "CLOUD_SSD"
storage_size = 100
availability_zone = "ap-guangzhou-3"
encrypt = true
tags = {
test = "tf"
}
}
Non-Compliant Code Examples
resource "tencentcloud_cbs_storage" "encrytion_positive2" {
storage_name = "cbs-test"
storage_type = "CLOUD_SSD"
storage_size = 100
availability_zone = "ap-guangzhou-3"
encrypt = false
tags = {
test = "tf"
}
}
resource "tencentcloud_cbs_storage" "encrytion_positive1" {
storage_name = "cbs-test"
storage_type = "CLOUD_SSD"
storage_size = 100
availability_zone = "ap-guangzhou-3"
tags = {
test = "tf"
}
}