Skip to content

Instantly share code, notes, and snippets.

@flavorplus
Created August 1, 2018 15:58
Show Gist options
  • Save flavorplus/4c7054b089341ee91d28e02d54ef2606 to your computer and use it in GitHub Desktop.
Save flavorplus/4c7054b089341ee91d28e02d54ef2606 to your computer and use it in GitHub Desktop.
Aternity Webhook format
Extra URL piece:
https://<your_host>/api/now/table/x_rivt2_aternity_d_aternity_incidents_im
JSON data:
{
"impact": 2,
"username": "XXXXX",
"os_name": "MS Windows 7",
"description": "Device details: \n Hostname : WIN-XXXXX\n Model : VMware Virtual Platform\n Type : Laptop\n OS : MS Windows 7\n CPU Speed : 2.5GHz to 3GHz\n Cores : 2\n Memory : 2GB\n Last booted : 2018-08-01 15:16:41Z\n\nUser Details:\n Username : XXXXXXX\n Domain : WIN-0XXXX\n Role : Other\n Department : Other\n\n Location: Not Mapped\n Subnet: 172.16.0.0/24\n\nEvent Details : Process: \\SystemRoot\\system32\\ntoskrnl.exe\nModule Info: 0x2a82e0000000000 - \\SystemRoot\\system32\\ntoskrnl.exe(ntoskrnl) + 0x2a835fffd5ee000\nEvent: 0xf4, 0x3, 0xfffffa801a1477e0, 0xfffffa801a147ac0, 0xfffff80002d8d600\n\nAt least 2 events occurred between 2018-07-31 15:20 UTC and 2018-08-01 15:20 UTC\n\n",
"last_booted": "2018-08-01 15:16:41Z",
"business_location": "Not Mapped",
"cpu_speed": "2.5GHz to 3GHz",
"base_url": "https://my-demo.aternity.com",
"device_name": "WIN-0XXXXXX",
"priority": 2,
"department": "Other",
"device_type": "Laptop",
"memory": "2GB",
"short_description": "Alert: System Crash, Device: WIN-XXXXXXX (at least 2 times in 24 hours)",
"cores": "2",
"model": "VMware Virtual Platform",
"user_domain": "WIN-XXXXXXXXXXX",
"account_id": XX
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment