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

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