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

     1  package mq
     2  
     3  var cloudFormationEnableGeneralLoggingGoodExamples = []string{
     4  	`---
     5  AWSTemplateFormatVersion: 2010-09-09
     6  Description: Good example
     7  Resources:
     8    Broker:
     9      Type: AWS::AmazonMQ::Broker
    10      Properties:
    11        Logs:
    12          General: true
    13  
    14  `,
    15  }
    16  
    17  var cloudFormationEnableGeneralLoggingBadExamples = []string{
    18  	`---
    19  AWSTemplateFormatVersion: 2010-09-09
    20  Description: Bad example
    21  Resources:
    22    Broker:
    23      Type: AWS::AmazonMQ::Broker
    24      Properties:
    25        Logs:
    26          General: false
    27  
    28  `,
    29  }
    30  
    31  var cloudFormationEnableGeneralLoggingLinks = []string{}
    32  
    33  var cloudFormationEnableGeneralLoggingRemediationMarkdown = ``