github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/sns/enable_topic_encryption.tf.go (about)

     1  package sns
     2  
     3  var terraformEnableTopicEncryptionGoodExamples = []string{
     4  	`
     5   resource "aws_sns_topic" "good_example" {
     6   	kms_master_key_id = "/blah"
     7   }
     8   `,
     9  }
    10  
    11  var terraformEnableTopicEncryptionBadExamples = []string{
    12  	`
    13   resource "aws_sns_topic" "bad_example" {
    14   	# no key id specified
    15   }
    16   `,
    17  }
    18  
    19  var terraformEnableTopicEncryptionLinks = []string{
    20  	`https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sns_topic#example-with-server-side-encryption-sse`,
    21  }
    22  
    23  var terraformEnableTopicEncryptionRemediationMarkdown = ``