github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/dynamodb/enable_at_rest_encryption.cf.go (about) 1 package dynamodb 2 3 var cloudFormationEnableAtRestEncryptionGoodExamples = []string{ 4 `--- 5 Resources: 6 daxCluster: 7 Type: AWS::DAX::Cluster 8 Properties: 9 ClusterName: "MyDAXCluster" 10 NodeType: "dax.r3.large" 11 ReplicationFactor: 1 12 IAMRoleARN: "arn:aws:iam::111122223333:role/DaxAccess" 13 Description: "DAX cluster created with CloudFormation" 14 SSESpecification: 15 SSEEnabled: true 16 `, 17 } 18 19 var cloudFormationEnableAtRestEncryptionBadExamples = []string{ 20 `--- 21 Resources: 22 daxCluster: 23 Type: AWS::DAX::Cluster 24 Properties: 25 ClusterName: "MyDAXCluster" 26 NodeType: "dax.r3.large" 27 ReplicationFactor: 1 28 IAMRoleARN: "arn:aws:iam::111122223333:role/DaxAccess" 29 Description: "DAX cluster created with CloudFormation" 30 SubnetGroupName: !Ref subnetGroupClu 31 `, 32 } 33 34 var cloudFormationEnableAtRestEncryptionLinks = []string{} 35 36 var cloudFormationEnableAtRestEncryptionRemediationMarkdown = ``