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

     1  package neptune
     2  
     3  var cloudFormationCheckEncryptionCustomerKeyGoodExamples = []string{
     4  	`---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Good example
     7  Resources:
     8    Cluster:
     9      Type: AWS::Neptune::DBCluster
    10      Properties:
    11        StorageEncrypted: true
    12        KmsKeyId: "something"
    13  
    14  `,
    15  }
    16  
    17  var cloudFormationCheckEncryptionCustomerKeyBadExamples = []string{
    18  	`---
    19  AWSTemplateFormatVersion: 2010-09-09
    20  Description: Bad example
    21  Resources:
    22    Cluster:
    23      Type: AWS::Neptune::DBCluster
    24      Properties:
    25        StorageEncrypted: false
    26  
    27  `,
    28  }
    29  
    30  var cloudFormationCheckEncryptionCustomerKeyLinks = []string{}
    31  
    32  var cloudFormationCheckEncryptionCustomerKeyRemediationMarkdown = ``