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

     1  package rds
     2  
     3  var cloudFormationEnablePerformanceInsightsEncryptionGoodExamples = []string{
     4  	`---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Good example
     7  Resources:
     8    Queue:
     9      Type: AWS::RDS::DBInstance
    10      Properties:
    11        EnablePerformanceInsights: true
    12        PerformanceInsightsKMSKeyId: "something"
    13  
    14  `,
    15  }
    16  
    17  var cloudFormationEnablePerformanceInsightsEncryptionBadExamples = []string{
    18  	`---
    19  AWSTemplateFormatVersion: 2010-09-09
    20  Description: Bad example
    21  Resources:
    22    Queue:
    23      Type: AWS::RDS::DBInstance
    24      Properties:
    25        EnablePerformanceInsights: true
    26  
    27  `,
    28  }
    29  
    30  var cloudFormationEnablePerformanceInsightsEncryptionLinks = []string{}
    31  
    32  var cloudFormationEnablePerformanceInsightsEncryptionRemediationMarkdown = ``