github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/elasticache/enable_at_rest_encryption.tf.go (about) 1 package elasticache 2 3 var terraformEnableAtRestEncryptionGoodExamples = []string{ 4 ` 5 resource "aws_elasticache_replication_group" "good_example" { 6 replication_group_id = "foo" 7 replication_group_description = "my foo cluster" 8 9 at_rest_encryption_enabled = true 10 } 11 `, 12 } 13 14 var terraformEnableAtRestEncryptionBadExamples = []string{ 15 ` 16 resource "aws_elasticache_replication_group" "bad_example" { 17 replication_group_id = "foo" 18 replication_group_description = "my foo cluster" 19 20 at_rest_encryption_enabled = false 21 } 22 `, 23 } 24 25 var terraformEnableAtRestEncryptionLinks = []string{ 26 `https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_replication_group#at_rest_encryption_enabled`, 27 } 28 29 var terraformEnableAtRestEncryptionRemediationMarkdown = ``