https://github.com/cpanato/mattermost-plugin-onelogin
OneLogin plugin for Mattermost
https://github.com/cpanato/mattermost-plugin-onelogin
go golang mattermost mattermost-plugin onelogin plugins
Last synced: over 1 year ago
JSON representation
OneLogin plugin for Mattermost
- Host: GitHub
- URL: https://github.com/cpanato/mattermost-plugin-onelogin
- Owner: cpanato
- License: apache-2.0
- Created: 2019-03-03T15:50:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T15:29:15.000Z (about 7 years ago)
- Last Synced: 2025-01-11T04:11:35.463Z (over 1 year ago)
- Topics: go, golang, mattermost, mattermost-plugin, onelogin, plugins
- Language: Go
- Size: 510 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OneLogin Notification [](https://circleci.com/gh/cpanato/mattermost-plugin-onelogin)
This plugin receive and post notifications from OneLogin Webhook.
Inspired on https://github.com/onelogin/serverless-onelogin-slack
For now it only parses the user login and check the configured risk threshold and then post a message in the specified channel
## Configuration
#### Mattermost side
- Install the plugin
- Configure the plugin:
- in the `TeamChannel` field add a the team and the channel you want to post the messages separated by comma. ie. `TeamA,ChannelX`.
- set the `RiskThreshold` the value is from 0 to 100.
- set the `Username` which is the user the will be use to post the messages.
- set the `Token` this will be used to set the webhook header in the OneLogin side in order to validate the request.
#### OneLogin side
- Create the webhook and set the Header `X-OneLogin-Token` with the value you created in the Mattermost configuration, see above.
#### Events Supported
- `USER_LOGGED_INTO_ONELOGIN`
- `UNLOCKED_USER`
- `CREATED_USER`
- `DEACTIVATED_USER`
- `DELETED_USER`
- `USER_LOCKED`
- `USER_REMOVED_OTP_DEVICE`
## Next features
- add slash command to block user
- parse other events types