Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

argus-notification-msteams

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argus-notification-msteams

Allow argus-server to send notifications to MS Teams

  • 0.6.0
  • Source
  • PyPI
  • Socket score

Maintainers
2

argus_notification_msteams

ALPHA-VERSION!

This is a plugin to send notifications to MSTeams from Argus <https://github.com/Uninett/argus-server>_

Different levels of incidents have hard-coded colors.

Version 0.5.1 and older can be used by argus-server version 1.9.x to 1.13.x.

Django settings

Add argus_notification_msteams.MSTeamsNotification to MEDIA_PLUGINS::

MEDIA_PLUGINS = [
    ..
    "argus_notification_msteams.MSTeamsNotification",
]

The plugin uses the setting NOTIFICATION_SUBJECT_PREFIX.

Configuration

Create a webhook inside MS Teams, which results in a long url that needs to be stored in the settings-field.

You can test without invoking the frontend by adding the webhook manually in Django admin.

POST-ing to the API:

/api/v2/notificationprofiles/destinations/, POSTed body::

{
  "media": "msteams",
  "label": "whatever",
  "settings": {
    "webhook": "https://msteams.domain/some-very-long-webhook-specific-path"
  }
}

GET-ing from the API:

/api/v2/notificationprofiles/destinations/{id}/, received result::

{ "pk": 0, "media": { "slug": "msteams", "name": "MS Teams" }, "label": "whatever", "suggested_label": "whatever", "settings": { "webhook": "https://msteams.domain/some-very-long-webhook-specific-path" } }

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc