class_docstr: SlackOutput handles all alert dispatching for Slack
class_docstr_tok: ["SlackOutput","handles","all","alert","dispatching","for","Slack"]
docstr: Returns a skeleton for a Slack attachment containing various default values.
  
  Return:
       dict
docstr_tok: ["Returns","a","skeleton","for","a","Slack","attachment","containing","various","default","values",".","Return",":","dict"]
code: def _get_attachment_skeleton(cls):
      """Returns a skeleton for a Slack attachment containing various default values.
  
      Return:
           dict
      """
      return {
          # String
          # Plaintext summary of the attachment; renders in non-markdown compliant clients,
          # such as push notifications.
          "fallback": "",
          # String, hex color
          # Colors the vertical bar to the left of the text.
          "color": "#36a64f",
          # String
          # Text that appears above the vertical bar to the left of the attachment.
          # Supports markdown if it's included in "mrkdwn_in"
          "pretext": "",
          # String
          # The attachment's author name.
          # If this field is omitted, then the entire author row is omitted.
          "author_name": "",
          # String, URL
          # Provide a URL; Adds a clickable link to the author name
          "author_link": "",
          # String, URL of an image
          # The icon appears to the left of the author name
          "author_icon": "",
          # String
          # Appears as bold text above the attachment itself.
          # If this field is omitted, the entire title row is omitted.
          "title": "",
          # String, URL
          # Adds a clickable link to the title
          "title_link": "",
          # String
          # Raw text that appears in the attachment, below the title but above the fields
          # Supports markdown if it's included in "mrkdwn_in".
          # Use \n for newline characters.
          # This field has a field limit of cls.MAX_MESSAGE_SIZE
          "text": "",
          # Array of dicts; Each dict should have keys "title", "value", "short"
          # An array of fields that appears below the text. These fields are clearly delineated
          # with title and value.
          "fields": [
              # Sample field:
              # {
              #     "title": "Priority",
              #     "value": "High",
              #     "short": False
              # }
          ],
          # String, URL of an image
          # Large image that appears as an attachment
          "image_url": "",
          # String, URL of an image
          # When image_url is omitted, this one renders a smaller image to the right
          "thumb_url": "",
          # String
          # Appears at the very bottom
          # If this field is omitted, also omits the footer icon
          "footer": "",
          # String, URL
          # This icon appears to the left of the footer
          "footer_icon": "",
          # Integer, Unix timestamp
          # This will show up next to the footer at the bottom.
          # This timestamp does not change the time the message is actually sent.
          "ts": "",
          # List of strings
          # Defines which of the above fields will support Slack's simple markdown (with special
          # characters like *, ~, _, `, or ```... etc)
          # By default, we respect markdown in "text" and "pretext"
          "mrkdwn_in": [
              "text",
              "pretext",
          ],
      }
  
file_path: streamalert/streamalert/alert_processor/outputs/slack.py
imports: import html
  from collections import OrderedDict
  from streamalert.alert_processor.helpers import compose_alert, elide_string_middle
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, OutputRequestFailure, StreamAlertOutput
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 4 for calling the SlackOutput obj's underlying member method code with example usage: obj._get_attachment_skeleton(cls) and returns: dict