Skip to content

Notification Center ​

TestNet provides three notification channels: in-app notifications, email, and Webhook, helping you stay informed about task execution status and system events.

In-App Notifications ​

Message center & notification list

Click the 🔔 bell icon in the top navigation bar:

  • Unread badge: Shows the current unread notification count
  • Notification list: Displays recent notification records
  • Mark as read: Click a single notification or "Mark All Read"
  • View all: Navigate to the notification management page for the full history

Notification Types ​

TypeEventDescription
✅ New AssetNEW_ASSETWorkflow discovers a new asset
⚠️ New VulnerabilityNEW_VULScan discovers a new vulnerability
🔴 Node OfflineNODE_OFFLINEScanning node heartbeat timeout
❌ Task FailedTASK_FAILEDTask execution failure
✅ Task CompletedTASK_COMPLETEDTask execution completed successfully
❌ Workflow FailedWORKFLOW_FAILEDWorkflow run failure
✅ Workflow CompletedWORKFLOW_COMPLETEDWorkflow run completed successfully
❌ Test FailedTEST_FAILEDTest case execution failure
✅ Test CompletedTEST_COMPLETEDTest case execution completed

System Alerts (Real-time WebSocket Push) ​

High-priority alerts (node offline, task failure, workflow failure, etc.) appear as real-time pop-up notices in the top-right corner.


Configure Email Notifications ​

Set Up Email Server ​

  1. Go to "System Management" → "System Settings" → "Email Configuration"
  2. Fill in the SMTP configuration:
    • SMTP Server: e.g., smtp.gmail.com
    • Port: 465 (SSL) or 587 (TLS)
    • Sender Email: Email address for sending notifications
    • Username/Password: SMTP authentication credentials
  3. Click "Test Send" to verify configuration
  4. Save

Configure Notification Rules ​

Notification rules are configured under "Asset Management" → "Asset Config" → "Notification Rules" (reuses the asset configuration system, configType=NOTIFICATION):

  1. Go to "Asset Management" → "Asset Config" → "Notification Rules"
  2. Click "New" to create a notification rule
  3. Configure:
    • Trigger Events: Workflow complete, task failed, node offline, etc.
    • Channel: Email
    • Recipients: Select users or enter email addresses manually
  4. Save

Configure Webhook Notifications ​

Webhooks can push notifications to DingTalk, Lark, custom systems, and more.

Set Up Webhook ​

  1. Go to "Asset Management" → "Asset Config" → "Notification Rules"
  2. Click "New" to create a notification rule
  3. Select "Webhook" as the notification channel
  4. Enter the Webhook URL
  5. Select trigger events
  6. Save

Common Webhook Examples ​

text
https://oapi.dingtalk.com/robot/send?access_token=YOUR_TOKEN
text
https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_TOKEN
text
https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY

Notification History ​

Go to "Message Center" (/notification) under the "System" menu to view all historical notifications:

  • Filter by type (new asset, new vulnerability, node offline, etc.)
  • Filter by date range
  • View notification details and delivery status (success/failed)
  • Bulk delete historical notifications

最近更新

Released under the MIT License