argus_notification_msteams
This is a plugin to send notifications to MSTeams from Argus
Different levels of incidents have hard-coded icon colors, based on those used in the Argus frontend.
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 workflow inside MS Teams to send webhook alerts to a chat or channel. This lets you use “Copy webhook link” to get 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"
}
}
Metadata
Release files for argus-notification-msteams 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| argus_notification_msteams-1.0.0.tar.gz | 3.6 kB | Without provenance | Details for argus_notification_msteams-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| argus_notification_msteams-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for argus_notification_msteams-1.0.0-py3-none-any.whl |
Total release size: 7.6 kB
Release files / argus_notification_msteams-1.0.0.tar.gz
| Download URL | argus_notification_msteams-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
425249f4064f47d505ca8e6dfb1c6249e526f2edcdfe01f834cf6c4df0fb5807
|
|
BLAKE2b-256 checksum How to use checksums |
e972a909d36257c4d7f2351dcb11cf26326ec59cd03176fff1bdc62cd87beecb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / argus_notification_msteams-1.0.0-py3-none-any.whl
| Download URL | argus_notification_msteams-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
585c4f3d6f0ae78ad7585f7f83feef54e68aa92342d1ccde964ccc768bae4e09
|
|
BLAKE2b-256 checksum How to use checksums |
4c3f51c558ebe5f3c4b00c430995708aa5e64fe06b6719fe78e6ea6042cc6973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for argus-notification-msteams 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.