github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/sam/enable_table_encryption.cf.go (about) 1 package sam 2 3 var cloudFormationEnableTableEncryptionGoodExamples = []string{ 4 `--- 5 AWSTemplateFormatVersion: 2010-09-09 6 Description: Good Example of SAM Table 7 Resources: 8 GoodFunction: 9 Type: AWS::Serverless::SimpleTable 10 Properties: 11 TableName: GoodTable 12 SSESpecification: 13 SSEEnabled: true 14 `, 15 } 16 17 var cloudFormationEnableTableEncryptionBadExamples = []string{ 18 `--- 19 AWSTemplateFormatVersion: 2010-09-09 20 Description: Bad Example of SAM Table 21 Resources: 22 BadFunction: 23 Type: AWS::Serverless::SimpleTable 24 Properties: 25 TableName: Bad Table 26 SSESpecification: 27 SSEEnabled: false 28 `, `--- 29 AWSTemplateFormatVersion: 2010-09-09 30 Description: Bad Example of SAM Table 31 Resources: 32 BadFunction: 33 Type: AWS::Serverless::SimpleTable 34 Properties: 35 TableName: Bad Table 36 `, 37 } 38 39 var cloudFormationEnableTableEncryptionLinks = []string{} 40 41 var cloudFormationEnableTableEncryptionRemediationMarkdown = ``