Files
NetAlertX/front/report_templates/webhook_json_sample.json
2025-01-19 12:56:00 +11:00

135 lines
4.1 KiB
JSON
Executable File

[
{
"headers": {
"host": "192.168.1.82:5678",
"user-agent": "curl/7.74.0",
"accept": "*/*",
"content-type": "application/json",
"content-length": "872"
},
"params": {},
"query": {},
"body": {
"username": "NetAlertX",
"text": "There are new notifications",
"attachments": [
{
"title": "NetAlertX Notifications",
"title_link": "",
"text": {
"new_devices_meta": {
"title": "🆕 New devices",
"columnNames": [
"MAC",
"Datetime",
"IP",
"Event Type",
"Device name",
"Comments"
]
},
"new_devices": [
{
"MAC": "00:1a:76:e3:26:4a",
"Datetime": "2025-01-06 11:05:00+11:00",
"IP": "192.168.1.82",
"Event Type": "New Device",
"Device name": "(unknown) TEST",
"Comments": ""
}
],
"down_devices_meta": {
"title": "🔴 Down devices",
"columnNames": [
"devName",
"eve_MAC",
"devVendor",
"eve_IP",
"eve_DateTime",
"eve_EventType"
]
},
"down_devices": [],
"events_meta": {
"title": "Events",
"columnNames": [
"MAC",
"Datetime",
"IP",
"Event Type",
"Device name",
"Comments"
]
},
"down_reconnected": [
{
"devName": "Phone - Moto 82",
"eve_MAC": "74:ac:74:ac:74:ac",
"devVendor": "Motorola Mobility LLC, a Lenovo Company",
"eve_IP": "192.168.1.167",
"eve_DateTime": "2025-01-11 10:05:01+11:00",
"eve_EventType": "Down Reconnected"
}
],
"down_reconnected_meta": {
"title": "🔁 Reconnected down devices",
"columnNames": [
"devName",
"eve_MAC",
"devVendor",
"eve_IP",
"eve_DateTime",
"eve_EventType"
]
},
"events": [
{
"MAC": "74:ac:74:ac:74:ac",
"Datetime": "2023-01-30 22:15:09",
"IP": "192.168.1.92",
"Event Type": "Disconnected",
"Device name": "(name not found)",
"Comments": null
},
{
"MAC": "74:ac:74:ac:74:ac",
"Datetime": "2023-01-30 22:15:09",
"IP": "192.168.1.150",
"Event Type": "Disconnected",
"Device name": "(name not found)",
"Comments": null
}
],
"plugins_meta": {
"title": "🔌 Plugins",
"columnNames": [
"Plugin",
"Object_PrimaryID",
"Object_SecondaryID",
"DateTimeChanged",
"Watched_Value1",
"Watched_Value2",
"Watched_Value3",
"Watched_Value4",
"Status"
]
},
"plugins": [
{
"Plugin": "ARPSCAN",
"Object_PrimaryID": "74:ac:74:ac:74:ac",
"Object_SecondaryID": "192.168.1.114",
"DateTimeChanged": "2025-01-11 12:21:00",
"Watched_Value1": "192.168.1.114",
"Watched_Value2": "Microsoft Corporation",
"Watched_Value3": "192.168.1.0/24 --interface=eth1",
"Watched_Value4": "",
"Status": "new"
}
]
}
}
]
}
}
]