Mmessenger

From MidasWiki
Revision as of 14:41, 27 May 2021 by Bsmith (talk | contribs) (Created page with "= MIDAS Messenger (mmessenger) = == Overview == The midas messenger relays midas messages to your chosen Discord, Slack and Mattermost webhooks. It is a standalone program...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MIDAS Messenger (mmessenger)

Overview

The midas messenger relays midas messages to your chosen Discord, Slack and Mattermost webhooks.

It is a standalone program that works completely independently of the main mlogger program (which writes messages to the midas.log text file).

ODB keys

Running the program will create ODB entries in:

  • /MIDASMessenger/Discord/WebHooks
  • /MIDASMessenger/Slack/WebHooks
  • /MIDASMessenger/Mattermost/WebHooks

Within each of these are 6 string keys:

  • MT_ERROR
  • MT_INFO
  • MT_DEBUG
  • MT_USER
  • MT_LOG
  • MT_TALK
  • MT_CALL

One simply needs to paste in the webhook link in the categories you want, then restart the MIDAS Messenger. By default each entry is blank, meaning no action is taken.

The message types have been separated so that users can direct different message types to different channels. Alternatively users can also direct everything to the same place by using the same webhook URL multiple times.

Webhook documentation

Discord

https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks

Slack

https://api.slack.com/messaging/webhooks

Mattermast

https://docs.mattermost.com/developer/webhooks-incoming.html#simple-incoming-webhook


Requirements

  • The Midas python libraries must be available.
  • The python `requests` library must be installed. e.g. `pip install requests --user`