github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/msk/enable_at_rest_encryption.cf.go (about)

     1  package msk
     2  
     3  var cloudFormationEnableAtRestEncryptionGoodExamples = []string{
     4  	`---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Good example
     7  Resources:
     8    Cluster:
     9      Type: AWS::MSK::Cluster
    10      Properties:
    11        EncryptionInfo:
    12          EncryptionAtRest:
    13            DataVolumeKMSKeyId: "foo-bar-key"
    14  `,
    15  }
    16  
    17  var cloudFormationEnableAtRestEncryptionBadExamples = []string{
    18  	`---
    19  AWSTemplateFormatVersion: 2010-09-09
    20  Description: Bad example
    21  Resources:
    22    Cluster:
    23      Type: AWS::MSK::Cluster
    24      Properties:
    25  `,
    26  }
    27  
    28  var cloudFormationEnableAtRestEncryptionLinks = []string{}
    29  
    30  var cloudFormationEnableAtRestEncryptionRemediationMarkdown = ``