code: def get_random_alert(key_count, rule_name, omit_rule_desc=False):
      """This loop generates key/value pairs with a key of length 6 and
      value of length 148. when formatted, each line should consume
      160 characters, account for newline and asterisk for bold.
  
      For example:
      '*000001:* 6D829150B0154BF9BAC733FD25C61FA3D8CD3868AC2A92F19EEE119B
      9CE8D6094966AA7592CE371002F1F7D82617673FCC9A9DB2A8F432AA791D74AB80BBCAD9\n'
  
      Therefore, 25*160 = 4000 character message size (exactly the 4000 limit)
      Anything over 4000 characters will result in multi-part slack messages:
      55*160 = 8800 & 8800/4000 = ceil(2.2) = 3 messages needed
      """
      # This default value is set in the rules engine
      rule_description = (
          "No rule description provided"
          if omit_rule_desc
          else "rule test description"
      )
  
      return Alert(
          rule_name,
          {
              "{:06}".format(key): "{:0148X}".format(
                  random.randrange(16**128)
              )
              for key in range(key_count)
          },
          {"slack:unit_test_channel"},
          rule_description=rule_description,
      )
  
file_path: streamalert/tests/unit/streamalert/alert_processor/helpers.py
imports: import random
  import boto3
  from streamalert.alert_processor.outputs.credentials.provider import LocalFileDriver
  from streamalert.shared.alert import Alert
  from streamalert.shared.helpers.aws_api_client import AwsKms, AwsSsm
label_desc: Use image node_id 1 for calling a global function with example usage: get_random_alert(key_count, rule_name, omit_rule_desc) and returns: Alert