code: def get_alert(context=None):
      """This function generates a sample alert for testing purposes
  
      Args:
          context (dict): Optional alert context
      """
      return Alert(
          "cb_binarystore_file_added",
          {
              "compressed_size": "9982",
              "timestamp": "1496947381.18",
              "node_id": "1",
              "cb_server": "cbserver",
              "size": "21504",
              "type": "binarystore.file.added",
              "file_path": "/tmp/5DA/AD8/0F9AA55DA3BDE84B35656AD8911A22E1.zip",
              "md5": "0F9AA55DA3BDE84B35656AD8911A22E1",
          },
          {"slack:unit_test_channel"},
          alert_id="79192344-4a6d-4850-8d06-9c3fef1060a4",
          context=context,
          log_source="carbonblack:binarystore.file.added",
          log_type="json",
          rule_description="Info about this rule and what actions to take",
          source_entity="corp-prefix.prod.cb.region",
          source_service="s3",
      )
  
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 2 for calling a global function with example usage: get_alert(context) and returns: Alert