You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/apache/answer-plugins/notification-lark

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/apache/answer-plugins/notification-lark

v1.0.3
Source
Go
Version published
Created
Source

NotificationLark Plugin

English | 中文

How to use

To use the NotificationLark plugin with your application, install it using the following command:

./answer build --with github.com/apache/answer-plugins/notification-lark

How to config

For Administrators

Creating a Bot

  • Create a Bot in Lark or Feishu:

    • Visit Lark or Feishu to create a new bot.
    • Add im:message:send_as_bot Permission to the bot in the Permission & Scopes tab.
    • In the bot settings, enable the Custom Bot Menu and set the action type to Push Event.
    • Configure the menu event with 10001 as the event code. bot menu set
  • Configure Events and Callbacks:

    • Navigate to the Events & Callbacks tab.
    • Set the Mode of event subscription to Receive events through persistent connection.
    • Add the application.bot.menu_v6 event ID to your Event Configuration. event config
  • Release the Bot Version: Once the above settings are configured, proceed to release your bot version.

Website Configuration

Set the following parameters based on your requirements:

  • Brand: Choose between Lark and Feishu as they are separate brands.
  • App ID: Your bot's App ID, typically formatted as cli_xxx.
  • App Secret: Your bot's secret key.
  • Verification Token: (Optional) Verification token from the bot Events & Callbacks => Encryption Strategy.
  • Encrypt Key: (Optional) Encrypt key from the bot Events & Callbacks => Encryption Strategy.

For User

  • Interact with the Bot:
    • Click on the bot menu in the chat interface to trigger interactions.
    • Upon interaction, you will receive your open ID from the bot.
  • User Settings:
    • Enter your Open ID in the user settings.
    • Select which notifications you wish to receive under Notifications Choices.

FAQs

Package last updated on 07 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.