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

     1  package redshift
     2  
     3  var cloudFormationEncryptionCustomerKeyGoodExamples = []string{
     4  	`---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Bad example of redshift cluster
     7  Resources:
     8    Queue:
     9      Type: AWS::Redshift::Cluster
    10      Properties:
    11        Encrypted: true
    12        KmsKeyId: "something"
    13  
    14  `,
    15  }
    16  
    17  var cloudFormationEncryptionCustomerKeyBadExamples = []string{
    18  	`---
    19  AWSTemplateFormatVersion: 2010-09-09
    20  Description: Bad example of redshift cluster
    21  Resources:
    22    Queue:
    23      Type: AWS::Redshift::Cluster
    24      Properties:
    25        Encrypted: true
    26  `,
    27  }
    28  
    29  var cloudFormationEncryptionCustomerKeyLinks = []string{}
    30  
    31  var cloudFormationEncryptionCustomerKeyRemediationMarkdown = ``