Plugin for Sentry which integrates with WeChat Work.
Project description
Sentry WeChat Work
Plugin for Sentry which allows sending notification and SSO Login via WeChat Work.
Installation
Prepare
- Install the plugin:
- onpremise: put
sentry-wxwork
torequirements.txt
- manual:
pip install sentry-wxwork
- onpremise: put
- Obtain required config from WeChat Work admin console (Read Me).
Notification
On (Legacy) Integrations page, find WeChat Work
, enable and configure it.
SSO Login
Add the following settings to your sentry.conf.py
:
WXWORK_CORP_ID = ''
WXWORK_SECRET = ''
WXWORK_AGENT_ID = ''
or, if you prefer setting it via environment variables:
if 'WXWORK_CORP_ID' in os.environ:
WXWORK_CORP_ID = env('WXWORK_CORP_ID')
WXWORK_SECRET = env('WXWORK_SECRET')
WXWORK_AGENT_ID = env('WXWORK_AGENT_ID')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sentry_wxwork-1.1.0.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for sentry_wxwork-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2830472e9f97ebd6714ccd8485f990416c66b9f8dd11292d4c70f4d515918f |
|
MD5 | 2299ce531daa668c2e74bcf4b52b22e5 |
|
BLAKE2b-256 | cb3de7c96e6ed3884cc94095024b96bdb15b043d8e82dde5cec9618fb8168ef8 |