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

     1  package neptune
     2  
     3  var cloudFormationEnableLogExportGoodExamples = []string{
     4  	`---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Bad example
     7  Resources:
     8    Cluster:
     9      Type: AWS::Neptune::DBCluster
    10      Properties:
    11        EnableCloudwatchLogsExports:
    12          - audit
    13  
    14  
    15  `,
    16  }
    17  
    18  var cloudFormationEnableLogExportBadExamples = []string{
    19  	`---
    20  AWSTemplateFormatVersion: 2010-09-09
    21  Description: Bad example
    22  Resources:
    23    Cluster:
    24      Type: AWS::Neptune::DBCluster
    25      Properties:
    26        EnableCloudwatchLogsExports:
    27          - debug
    28  
    29  `,
    30  }
    31  
    32  var cloudFormationEnableLogExportLinks = []string{}
    33  
    34  var cloudFormationEnableLogExportRemediationMarkdown = ``