Mavis offers LINE integration. Once this feature is enabled and users have bound their LINE accounts in their profile, they will receive notifications.
- Policy alert for SSH usage and blocking
- JIT (Just In Time) login requests
- JIT request form results
1.Configure LINE Channels Channels
- Please log in to the Line Console and follow the steps below:
1. Go to Providers2. Click Create |
3. Enter the Provider name 4. Click Create |
5. Select 「Create Messaging API channel」 |
6. Click 「Create a LINE Officeial Account」 |
7. Fill in the required information to create the official account
8. Click Confirm |
9.Click Finish |
9. Click Verify later (Go to admin page) |
2.Configure LINE Messaging API
1. Click ChatClick ChatClick Chat |
2. Click Go to response settings page |
3. Click Open Messaging API settings |
4. Click Enable Messaging API |
5. Select the channel you just created (e.g., 6.Click Agree |
7. Click Confirm |
8. Click Confirm again |
9. Save the Channel ID and Channel Secret 10. Set the Webhook URL to:: https://{mavis url}/api/v1/im_platforms/line/webhook |
3.Enable LINE Webhook
1.Go to Providers 2.Select the created Channel (e.g., mavis-demo) 3.Go to Messaging API |
4. Enable the toggle for Use Webhook |
4.Set Up LINE Integration in Mavis
Log in to Mavis as an Administrator 1.Go to System Management 2.IM Integration 3.Click the Edit button next to LINE Integration Settings |
4.Enable the LINE Integration toggle 5.Enter the Channel ID 6.Enter the Channel Secret 7.Click Save |
8.A success message will appear if the integration is set up correctly |
5.Bind LINE Account as a Mavis User
1.Click the User Profile icon 2.Select Personal Information |
3.Click Bind |
4.Use your mobile LINE app to scan the displayed QR code |
5.A message from the 6.Tap Bind with Mavis in the LINE message |
7.Return to Mavis and click Show QR Code |
8.Scan the QR code again using LINE |
9. A success message will confirm the binding — click Done |
6.Receive LINE Alerts for Blacklisted SSH Commands
1.Navigate to System Policy 2.Click Create Policy |
3.Enter a custom Policy Name 4.Enable the Alert toggle 5.Select notification recipients and check Send email to me 6.Click Next |
7.Add a blacklisted SSH command (e.g., 8.Click Next |
9.then Complete |
Triggering Blacklisted Command as a General User
1.After logging in, a general user connects to the server via SSH. The user executes a blacklisted command (e.g., |
- The administrator receives a security alert via the connected LINE Channel when a blacklisted command is triggered.
- The screen displayed when the user session is terminated.