github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/sns/topic_encryption_with_cmk.cf.go (about) 1 package sns 2 3 var cloudFormationTopicEncryptionUsesCMKGoodExamples = []string{ 4 `--- 5 AWSTemplateFormatVersion: 2010-09-09 6 Description: Good example of topic 7 Resources: 8 Queue: 9 Type: AWS::SQS::Topic 10 Properties: 11 TopicName: blah 12 KmsMasterKeyId: some-key 13 14 `, 15 } 16 17 var cloudFormationTopicEncryptionUsesCMKBadExamples = []string{ 18 `--- 19 AWSTemplateFormatVersion: 2010-09-09 20 Description: Bad example of topic 21 Resources: 22 Queue: 23 Type: AWS::SNS::Topic 24 Properties: 25 TopicName: blah 26 KmsMasterKeyId: alias/aws/sns 27 28 `, 29 } 30 31 var cloudFormationTopicEncryptionUsesCMKLinks = []string{} 32 33 var cloudFormationTopicEncryptionUsesCMKRemediationMarkdown = ``