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.1.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for sentry_wxwork-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d4477db69f3b91bff44ae54a54e030f5b00cd4c95697e50a78405eebd3ca745 |
|
MD5 | 8358ea51eebbbb87f268514b1dfa0139 |
|
BLAKE2b-256 | 3dfd7e83d981a4891838a66fd6753760ff7785034c4061743e124d10a20e6cb8 |