DiscussionSLA

Webhook Response

Published 10 months ago

# SafeLine WAF
# 💡 feature
# 💪 improve

Published 10 months ago

profile_photo

thienvv

Updated 10 months ago

0

I would like to suggest that the response part of Webhook can be sent more explicitly, for example, include site_id,... in the response so that it can handle sending notifications.

{
"username": "SafeLine",
"avatar_url": "https://demo.waf.chaitin.com:9443/favicon.png",
"content": "## Attack Events\n63 attacks from 1 IP addresses detected. including 14....\n## Rate Limiting\nFBDF website received a large number of requests from 1....\nFBDF website received a large number of attacks from 14.....\nThese IPs has been temporarily Challenged or Blocked.\nTime : 2025-05-14 13:40 ~ 13:50",
"site_id": 1, // Ex:..
"warning": "63 attacks from 1 IP addresses detected. including 14....\n## Rate Limiting",// Ex:..
"attack_ip": "14.
..", // Ex:..
"time": "2025-05-14 13:40 ~ 13:50" // Ex:..
}