HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
Guides

User Alerts

Following are the user management alerts that you can configure for notification over Webhooks. Click on an alert to see its description and JSON payload:

New User Account Added

Generates an alert when a new user account is added. This alert is enabled by default and the alert severity is Major.
{
    "id": "AXasdfghjklqwiJ43hVq",
    "nid": 14,
    "alert_type": "New User account added",
    "setting_id": "e1234567aaaabbbbccccddddfff8140d8-14",
    "device_id": "",
    "description": "New user with Name [email protected], role admin and access [\"allgroups\"] added.",
    "state": "Open",
    "severity": "Major",
    "operation": "create",
    "timestamp": 1612381871,
    "details": {
      "group": "-1",
      "labels": "",
      "_rule_number": "0",
      "params": [
        "[email protected]",
        "admin",
        "[\"allgroups\"]"
      ],
      "serial": "None",
      "time": "2021-02-03 19:51:11 UTC"
    },
    "webhook": "d5955595-1234-5678-45as-7aabbd74355",
    "text": "New user with Name [email protected], role admin and access [\"allgroups\"] added."
  }

New User Account Deleted

Generates an alert when a user account is deleted.
{
    "id": "AXasdfghjklqwiJ43hVq",
    "nid": 15,
    "alert_type": "User account deleted",
    "setting_id": "e1234567aaaabbbbccccddddfff8140d8-15",
    "device_id": "",
    "description": "User with name [email protected] deleted.",
    "state": "Open",
    "severity": "Major",
    "operation": "create",
    "timestamp": 1612381753,
    "details": {
      "group": "-1",
      "labels": "",
      "_rule_number": "0",
      "params": [
        "[email protected]"
      ],
      "serial": "None",
      "time": "2021-02-03 19:49:13 UTC"
    },
    "webhook": "d5955595-1234-5678-45as-7aabbd74355",
    "text": "User with name [email protected] deleted."
  }

New User Account Edited

Generates an alert when a user account is edited.
{
    "id": "AXasdfghjklqwiJ43hVq",
    "nid": 16,
    "alert_type": "User account edited",
    "setting_id": "e1234567aaaabbbbccccddddfff8140d8-16",
    "device_id": "",
    "description": "User with Name [email protected], role readonly and access [] updated.",
    "state": "Open",
    "severity": "Major",
    "operation": "create",
    "timestamp": 1612318267,
    "details": {
      "group": "-1",
      "labels": "",
      "_rule_number": "0",
      "params": [
        "[email protected]",
        "readonly",
        "[]"
      ],
      "serial": "None",
      "time": "2021-02-03 02:11:07 UTC"
    },
    "webhook": "d5955595-1234-5678-45as-7aabbd74355",
    "text": "User with Name [email protected], role readonly and access [] updated."
  }