class_docstr: JiraOutput handles all alert dispatching for Jira
class_docstr_tok: ["JiraOutput","handles","all","alert","dispatching","for","Jira"]
docstr: Instance method used to pass the default headers plus the api key
docstr_tok: ["Instance","method","used","to","pass","the","default","headers","plus","the","api","key"]
code: def _get_headers(self):
      """Instance method used to pass the default headers plus the api key"""
      auth_token = "%s:%s" % (self._user_name, self._api_key)
      encoded_credentials = base64.b64encode(auth_token.encode())
      return dict(
          self._get_default_headers(),
          **{
              "Authorization": "Basic %s" % encoded_credentials.decode()
          },
      )
  
file_path: streamalert/streamalert/alert_processor/outputs/jira_v2.py
imports: from collections import OrderedDict
  import os
  import json
  import base64
  from streamalert.alert_processor.helpers import compose_alert
  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 JiraOutput obj's underlying member method code with example usage: obj._get_headers() and returns: dict