NAS file system not encrypted
This product is not supported for your selected
Datadog site. (
).
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Id: 67bfdff1-31ce-4525-b564-e94368735360
Cloud Provider: Alicloud
Platform: Terraform
Severity: High
Category: Encryption
Learn More
Description
NAS file systems must be encrypted. The alicloud_nas_file_system resource must include the encrypt_type attribute, and it must not be set to 0. To remediate, set encrypt_type to "2" to enable user-managed KMS encryption.
Compliant Code Examples
resource "alicloud_nas_file_system" "foo2" {
protocol_type = "NFS"
storage_type = "Performance"
description = "tf-testAccNasConfig"
encrypt_type = "2"
}
resource "alicloud_nas_file_system" "foo" {
protocol_type = "NFS"
storage_type = "Performance"
description = "tf-testAccNasConfig"
encrypt_type = "1"
}
Non-Compliant Code Examples
resource "alicloud_nas_file_system" "foopos2" {
protocol_type = "NFS"
storage_type = "Performance"
description = "tf-testAccNasConfig"
}
resource "alicloud_nas_file_system" "foopos" {
protocol_type = "NFS"
storage_type = "Performance"
description = "tf-testAccNasConfig"
encrypt_type = "0"
}