{
  "$defs": {
    "actor": {
      "description": "Who caused the event, in one shape for every event. Events written before release 1.136 have none.",
      "properties": {
        "id": {
          "description": "The id of the user, API key or device, where known.",
          "format": "uuid",
          "type": "string"
        },
        "name": {
          "description": "The user's email address, the API key's name or the device's name, where known.",
          "type": "string"
        },
        "type": {
          "description": "user, partner_user, api_key, partner_api_key, device, anonymous (a browser that started a portal login and is not known yet) or system (the server itself).",
          "examples": [
            "anonymous",
            "api_key",
            "device",
            "partner_api_key",
            "partner_user",
            "system",
            "user"
          ],
          "type": "string"
        }
      },
      "type": "object",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "api_key": {
      "description": "The id of the API key of the session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "asn": {
      "description": "The number of the autonomous system the address belongs to.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "asn_organization": {
      "description": "The name of the organisation the autonomous system in asn belongs to.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "auth_type": {
      "description": "How the session was authenticated: the type of the tenant's identity provider for a user, client for a device, api_key for an API key; on portal events tunnel (a device reaching a portal through the tunnel) or web_app_session (a signed-in portal user).",
      "examples": [
        "api_key",
        "azure_ad_oidc",
        "bare_id",
        "client",
        "gmail",
        "google_identity_oidc",
        "idee",
        "keycloak",
        "msft_adfs",
        "oidc_generic",
        "okta",
        "tunnel",
        "web_app_session"
      ],
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "changed_fields": {
      "description": "On an update of an event forwarder: the names of the settings that changed. Secrets are named, never shown.",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "city": {
      "description": "The city the address or the device was located in.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client": {
      "description": "The id of the device of the session the event was written in, or of the device the event is about. client_name names it.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_id": {
      "description": "The id of the asset an event written in an administrator's session is about; client_name names it.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_ip": {
      "anyOf": [
        {
          "format": "ipv4"
        },
        {
          "format": "ipv6"
        }
      ],
      "description": "The address a blocked login or a blocked session came from.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_name": {
      "description": "The name of the device named by client or client_id.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_version": {
      "description": "The version of the agent on the device.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "country": {
      "description": "The ISO 3166-1 alpha-2 code of the country the address or the device was located in. On geo_blocked the country that was refused.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "created_at": {
      "description": "When the event happened: RFC 3339, UTC, with milliseconds (2026-11-13T08:00:00.000Z).",
      "format": "date-time",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "detail": {
      "description": "What a recovered Firewall Sync reports, as text.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device": {
      "description": "On portal and remote desktop events: the name of the device the user came from, when the portal was reached through the tunnel.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_ha_mode": {
      "description": "The perimeter firewall's high-availability mode.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_hostname": {
      "description": "The perimeter firewall's host name, as it reported it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_id": {
      "description": "On portal and remote desktop events: the id of the device named in device.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_model": {
      "description": "The perimeter firewall's model.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_serial": {
      "description": "The perimeter firewall's serial number.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_vdom": {
      "description": "The virtual domain of the perimeter firewall the API key belongs to.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_version": {
      "description": "The perimeter firewall's firmware version.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "display_name": {
      "description": "The name of a host found by Network Discovery, as far as one was found; empty otherwise.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "effective_tenant": {
      "description": "The id of the tenant a partner session is managing.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "enabled": {
      "description": "On a change to an event forwarder: whether it is enabled after the change.",
      "type": "boolean",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "error": {
      "description": "The error behind the event, as text. For people; its wording may change.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "error_display": {
      "description": "The error of a failed login in words for the user who saw it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "event_class": {
      "description": "The class of the event, the part of the event code before the dot.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "event_id": {
      "description": "The event's id in the event log: increasing, unique per event. 0 for a forwarder's own events (heartbeat, test), which are not in the event log. Delivery is at least once; deduplicate on non-zero ids.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "event_type": {
      "description": "The type of the event within its class, the part of the event code after the dot.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "fail_open": {
      "description": "Whether an asset's isolation lifts the host firewall while the agent is stopped (true) or keeps it in place (false).",
      "type": "boolean",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "field": {
      "description": "The name of the setting or property that changed; old_value and new_value hold its values.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "host": {
      "description": "The id of the machine the agent of the device in client runs on. Several devices of one machine share it.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "hosts_disappeared": {
      "description": "The number of hosts a Network Discovery scan no longer found.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "interface_name": {
      "description": "A network interface of the device in client: the one a Network Discovery scan ran on or a watched device is reached through; for a packet capture the interface a leg captured on, or on the request every interface asked for, comma-separated.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "interval_seconds": {
      "description": "The interval, in seconds, in which an event forwarder sends heartbeats.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "ip": {
      "anyOf": [
        {
          "format": "ipv4"
        },
        {
          "format": "ipv6"
        }
      ],
      "description": "The IP address of a host found on the network by Network Discovery.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "last_event_id": {
      "description": "The id of the last event the forwarder has delivered. Standing still while nothing else arrives means the tenant is quiet, not that events are lost.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "login_ip": {
      "description": "The address a login came from: the user's browser at the identity provider's callback, or a tunnel peer's public address. On session_ip_mismatch the address the session was started from.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "mac": {
      "description": "The hardware (MAC) address of a host found by Network Discovery.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "management_url": {
      "description": "The address of the perimeter firewall's management interface.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "manufacturer": {
      "description": "The manufacturer the hardware address of a host found by Network Discovery belongs to; empty when unknown.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "message": {
      "description": "The event as one line of text. For people; its wording may change, do not parse it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_hosts": {
      "description": "The number of new hosts a Network Discovery scan found.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_role": {
      "description": "A user's role after it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_rule_description": {
      "description": "The rule_description of an isolation rule after it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_rule_remote_address": {
      "description": "The rule_remote_address of an isolation rule after it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_service_definition_id": {
      "description": "The service_definition_id of an isolation rule after it was changed.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_services": {
      "description": "The number of newly open ports a Network Discovery scan found.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_value": {
      "description": "The value of the setting or property named in field after the change, as text.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "notification_id": {
      "description": "The id of the notification; the same on its raise and its clear.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "object_id": {
      "description": "The id of the object the event is about; object_type says what kind of object.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "object_name": {
      "description": "The name of the object the event is about; object_type says what kind of object.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "object_type": {
      "description": "The kind of object the event is about, for example policy, user_group, headless_client, web_app, event_forwarder. A release may add kinds.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "objects_left": {
      "description": "The number of objects a Firewall Sync run left on the perimeter firewall because something there still refers to them.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_remote_addr": {
      "description": "A device's public IP address before it changed; remote_address is the new one.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_role": {
      "description": "A user's role before it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_rule_description": {
      "description": "The rule_description of an isolation rule before it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_rule_remote_address": {
      "description": "The rule_remote_address of an isolation rule before it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_service_definition_id": {
      "description": "The service_definition_id of an isolation rule before it was changed.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_value": {
      "description": "The value of the setting or property named in field before the change, as text.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "open_ports": {
      "description": "The TCP ports Network Discovery found open on a new host.",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "os": {
      "description": "The operating system of the device.",
      "properties": {
        "name": {
          "description": "The system family: windows, darwin (macOS), linux, ios, android.",
          "examples": [
            "android",
            "darwin",
            "ios",
            "linux",
            "windows"
          ],
          "type": "string"
        },
        "platform": {
          "description": "The product or distribution.",
          "type": "string"
        },
        "version": {
          "description": "The version of the product or distribution.",
          "type": "string"
        }
      },
      "type": "object",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "partner": {
      "description": "The id of the partner, on events of a partner session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "policy_id": {
      "description": "The id of a policy: the one just-in-time access was requested through, or the isolation policy an isolation rule belongs to.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "port": {
      "description": "A TCP or UDP port: reached during just-in-time access, or found open or closed on a host by Network Discovery.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "reason": {
      "description": "Why something was refused, ended, deleted or cleared, or the reason a person gave for a request. What it holds depends on the event: see the event's entry.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "remote_address": {
      "description": "The IP address the request came from, without a port, or \"unknown\". Left out when the event has none.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "role": {
      "description": "The role or roles of the session, as the controller holds them. Not on device sessions.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "route": {
      "description": "The path prefix of the portal application the event is about.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rule_description": {
      "description": "The description of an isolation rule.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rule_remote_address": {
      "description": "The address or network an isolation rule allows.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rules_applied": {
      "description": "The number of rules a Firewall Sync run applied to the perimeter firewall.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rules_failed": {
      "description": "The number of rules a Firewall Sync run could not apply.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rules_skipped": {
      "description": "The number of rules a Firewall Sync run skipped.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "samples_expected": {
      "description": "The number of usage samples the measuring window should hold.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "samples_over": {
      "description": "The number of usage samples in the measuring window that were above threshold_percent.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "service_definition_id": {
      "description": "The id of the service an isolation rule allows.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "services_closed": {
      "description": "The number of ports a Network Discovery scan no longer found open.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "session_id": {
      "description": "The id of the session. Left out when the event was written outside a session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "session_type": {
      "description": "The kind of session the event was written in: command_console (an administrator, or the server itself), partner_portal (a partner user), client (a user's device), asset (a device without a user), web_app (a portal user or remote desktop in the browser, and a gateway's reports about recordings), jit_self_service (a user without administrator rights in the console). Empty on heartbeats.",
      "examples": [
        "",
        "asset",
        "client",
        "command_console",
        "jit_self_service",
        "partner_portal",
        "web_app"
      ],
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "severity": {
      "description": "The severity of a notification: 0 for a failure, 1 for a warning.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "tenant_name": {
      "description": "The name of the tenant the event belongs to.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "threshold_percent": {
      "description": "The CPU or memory usage, in percent, a device stayed above.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "user": {
      "description": "The id of the user of the session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "user_email": {
      "description": "The email address of the user of the session, or of the account a login was tried for.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "user_name": {
      "description": "On portal and remote desktop events: the display name of the user, where the tenant knows it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "vendor": {
      "description": "The vendor of the perimeter firewall that Firewall Sync manages.",
      "examples": [
        "fortinet"
      ],
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    }
  },
  "$id": "https://docs.xplicittrust.com/events/schema/0.1.0/event.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "allOf": [
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "access_control"
          },
          "event_type": {
            "const": "geo_blocked"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A login was blocked because its country is not among the allowed ones.",
        "properties": {
          "client_ip": {},
          "country": {
            "description": "The country that was refused."
          }
        },
        "required": [
          "client_ip",
          "country"
        ],
        "title": "access_control.geo_blocked",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "access_control"
          },
          "event_type": {
            "const": "ip_blocked"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A login was blocked because its address is not in the management allowlist.",
        "properties": {
          "client_ip": {},
          "reason": {
            "description": "Why the address was blocked, as text. Its wording may change."
          }
        },
        "required": [
          "client_ip",
          "reason"
        ],
        "title": "access_control.ip_blocked",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "access_control"
          },
          "event_type": {
            "const": "session_ip_mismatch"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A session was blocked because it showed up from another address than it was started from.",
        "properties": {
          "client_ip": {
            "description": "The address the session showed up from."
          },
          "login_ip": {
            "description": "The address the session was started from."
          }
        },
        "required": [
          "client_ip",
          "login_ip"
        ],
        "title": "access_control.session_ip_mismatch",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A login failed. user_email is the account that was tried.",
        "properties": {
          "error": {
            "description": "Why the login failed, as the controller or the identity provider reported it."
          },
          "error_display": {},
          "user_email": {
            "description": "The account the login was tried for."
          }
        },
        "required": [
          "error",
          "error_display",
          "user_email"
        ],
        "title": "authentication.failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "failed_refresh"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The refresh of a session failed.",
        "properties": {
          "error": {
            "description": "Why the refresh failed."
          },
          "error_display": {},
          "user_email": {}
        },
        "required": [
          "error",
          "error_display",
          "user_email"
        ],
        "title": "authentication.failed_refresh",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "logged_in"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A user, a device or an API key authenticated.",
        "properties": {},
        "required": [],
        "title": "authentication.logged_in",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "logged_out"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A user or a device logged out.",
        "properties": {},
        "required": [],
        "title": "authentication.logged_out",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "pre_auth_created"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A login was started: the pre-authentication session exists, the user has not been to the identity provider yet.",
        "properties": {
          "user_email": {}
        },
        "required": [
          "user_email"
        ],
        "title": "authentication.pre_auth_created",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "session_refresh"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A session was refreshed.",
        "properties": {},
        "required": [],
        "title": "authentication.session_refresh",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "tenant_entered"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A partner user started to manage the tenant.",
        "properties": {
          "user_email": {}
        },
        "required": [
          "user_email"
        ],
        "title": "authentication.tenant_entered",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "tenant_left"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A partner user stopped managing the tenant.",
        "properties": {
          "user_email": {}
        },
        "required": [
          "user_email"
        ],
        "title": "authentication.tenant_left",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "web_app_login"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A user logged in to a portal.",
        "properties": {
          "object_name": {},
          "object_type": {},
          "route": {},
          "user_email": {}
        },
        "required": [
          "object_name",
          "object_type",
          "route",
          "user_email"
        ],
        "title": "authentication.web_app_login",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "web_app_login_denied"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A portal login was refused after the identity provider accepted it.",
        "properties": {
          "object_name": {},
          "object_type": {},
          "reason": {
            "description": "Why the login was refused: not_in_group (the user is in none of the portal's groups) or no_policy (no policy grants the user the portal). A release may add values."
          },
          "route": {},
          "user_email": {}
        },
        "required": [
          "object_name",
          "object_type",
          "reason",
          "route",
          "user_email"
        ],
        "title": "authentication.web_app_login_denied",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "web_app_login_started"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A browser started a login to a portal. Who it is is not known yet; remote_address is unknown.",
        "properties": {
          "object_name": {},
          "object_type": {},
          "route": {}
        },
        "required": [
          "object_name",
          "object_type",
          "route"
        ],
        "title": "authentication.web_app_login_started",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "web_app_sign_out_all"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An administrator signed everyone out of a portal.",
        "properties": {
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "authentication.web_app_sign_out_all",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authentication"
          },
          "event_type": {
            "const": "web_app_tunnel_access"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A device reached a portal through the tunnel, which needs no login. Written for a device's first request to a portal, and again after eight hours.",
        "properties": {
          "device": {},
          "device_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "route": {},
          "user_name": {}
        },
        "required": [
          "device",
          "device_id",
          "object_id",
          "object_name",
          "object_type",
          "route"
        ],
        "title": "authentication.web_app_tunnel_access",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "authorization"
          },
          "event_type": {
            "const": "access_denied"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A request was refused: the session may not do what it asked for.",
        "properties": {
          "reason": {
            "description": "Why the request was refused, as text. Its wording may change."
          }
        },
        "required": [
          "reason"
        ],
        "title": "authorization.access_denied",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "client_version_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The version of the agent on the device changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.client_version_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "disk_encryption_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The device's disk encryption state changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.disk_encryption_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "domain_membership_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The device's domain membership changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.domain_membership_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "entra_id_membership_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The device's Microsoft Entra ID membership changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.entra_id_membership_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "geolocation_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The country the device is located in changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.geolocation_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "os_version_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The device's operating system version changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.os_version_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "security_product_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The state of a security product on the device changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.security_product_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_compliance"
          },
          "event_type": {
            "const": "security_provider_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The health the device's security provider reports changed.",
        "properties": {
          "client": {},
          "field": {
            "description": "The property of the device that changed."
          },
          "new_value": {},
          "old_value": {}
        },
        "required": [
          "client",
          "field",
          "new_value",
          "old_value"
        ],
        "title": "client_compliance.security_provider_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_resources"
          },
          "event_type": {
            "const": "cpu_usage_high"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "CPU usage stayed above the threshold.",
        "properties": {
          "client": {},
          "samples_expected": {},
          "samples_over": {},
          "threshold_percent": {}
        },
        "required": [
          "client",
          "samples_expected",
          "samples_over",
          "threshold_percent"
        ],
        "title": "client_resources.cpu_usage_high",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_resources"
          },
          "event_type": {
            "const": "cpu_usage_normal"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The CPU condition cleared: usage is back below the threshold, or the device stopped reporting.",
        "properties": {
          "client": {},
          "reason": {
            "description": "Why the condition cleared, as text: usage is back below the threshold, or the device stopped reporting."
          }
        },
        "required": [
          "client",
          "reason"
        ],
        "title": "client_resources.cpu_usage_normal",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_resources"
          },
          "event_type": {
            "const": "memory_usage_high"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "Memory usage stayed above the threshold.",
        "properties": {
          "client": {},
          "samples_expected": {},
          "samples_over": {},
          "threshold_percent": {}
        },
        "required": [
          "client",
          "samples_expected",
          "samples_over",
          "threshold_percent"
        ],
        "title": "client_resources.memory_usage_high",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_resources"
          },
          "event_type": {
            "const": "memory_usage_normal"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The memory condition cleared.",
        "properties": {
          "client": {},
          "reason": {
            "description": "Why the condition cleared, as text: usage is back below the threshold, or the device stopped reporting."
          }
        },
        "required": [
          "client",
          "reason"
        ],
        "title": "client_resources.memory_usage_normal",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_status"
          },
          "event_type": {
            "const": "asset_offline"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An asset went offline. The event repeats the fields of the asset's last session event.",
        "properties": {
          "client": {}
        },
        "required": [
          "client"
        ],
        "title": "client_status.asset_offline",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_status"
          },
          "event_type": {
            "const": "asset_online"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An asset came online.",
        "properties": {
          "client": {}
        },
        "required": [
          "client"
        ],
        "title": "client_status.asset_online",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_status"
          },
          "event_type": {
            "const": "client_offline"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A user's device went offline. The event repeats the fields of the device's last session event.",
        "properties": {
          "client": {}
        },
        "required": [
          "client"
        ],
        "title": "client_status.client_offline",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_status"
          },
          "event_type": {
            "const": "client_online"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A user's device came online.",
        "properties": {
          "client": {}
        },
        "required": [
          "client"
        ],
        "title": "client_status.client_online",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "client_status"
          },
          "event_type": {
            "const": "public_ip_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A device's public address changed.",
        "properties": {
          "client": {},
          "old_remote_addr": {}
        },
        "required": [
          "client",
          "old_remote_addr"
        ],
        "title": "client_status.public_ip_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "asset_isolation_disabled"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "Asset isolation was switched off for an asset.",
        "properties": {
          "client_id": {},
          "object_id": {},
          "object_type": {}
        },
        "required": [
          "client_id",
          "object_id",
          "object_type"
        ],
        "title": "configuration_change.asset_isolation_disabled",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "asset_isolation_enabled"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "Asset isolation was switched on for an asset.",
        "properties": {
          "client_id": {},
          "object_id": {},
          "object_type": {}
        },
        "required": [
          "client_id",
          "object_id",
          "object_type"
        ],
        "title": "configuration_change.asset_isolation_enabled",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "asset_isolation_fail_mode_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An asset's isolation was switched between failing closed and failing open.",
        "properties": {
          "client_id": {},
          "fail_open": {},
          "object_id": {},
          "object_type": {}
        },
        "required": [
          "client_id",
          "fail_open",
          "object_id",
          "object_type"
        ],
        "title": "configuration_change.asset_isolation_fail_mode_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "asset_isolation_rule_added"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An isolation rule was added.",
        "properties": {
          "client_id": {},
          "object_id": {},
          "object_type": {},
          "policy_id": {
            "description": "The isolation policy the rule belongs to."
          },
          "rule_description": {},
          "rule_remote_address": {},
          "service_definition_id": {}
        },
        "required": [
          "client_id",
          "object_id",
          "object_type",
          "policy_id",
          "rule_description",
          "rule_remote_address",
          "service_definition_id"
        ],
        "title": "configuration_change.asset_isolation_rule_added",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "asset_isolation_rule_changed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An isolation rule was changed.",
        "properties": {
          "client_id": {},
          "new_rule_description": {},
          "new_rule_remote_address": {},
          "new_service_definition_id": {},
          "object_id": {},
          "object_type": {},
          "old_rule_description": {},
          "old_rule_remote_address": {},
          "old_service_definition_id": {},
          "policy_id": {
            "description": "The isolation policy the rule belongs to."
          }
        },
        "required": [
          "client_id",
          "new_rule_description",
          "new_rule_remote_address",
          "new_service_definition_id",
          "object_id",
          "object_type",
          "old_rule_description",
          "old_rule_remote_address",
          "old_service_definition_id",
          "policy_id"
        ],
        "title": "configuration_change.asset_isolation_rule_changed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "asset_isolation_rule_removed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An isolation rule was removed.",
        "properties": {
          "client_id": {},
          "object_id": {},
          "object_type": {},
          "policy_id": {
            "description": "The isolation policy the rule belongs to."
          },
          "rule_description": {},
          "rule_remote_address": {},
          "service_definition_id": {}
        },
        "required": [
          "client_id",
          "object_id",
          "object_type",
          "policy_id",
          "rule_description",
          "rule_remote_address",
          "service_definition_id"
        ],
        "title": "configuration_change.asset_isolation_rule_removed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "created"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A configuration object was created.",
        "properties": {
          "enabled": {},
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "configuration_change.created",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "deleted"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A configuration object was deleted.",
        "properties": {
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "configuration_change.deleted",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "disabled"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A configuration object was disabled.",
        "properties": {
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "configuration_change.disabled",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "enabled"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A configuration object was enabled.",
        "properties": {
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "configuration_change.enabled",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_change"
          },
          "event_type": {
            "const": "updated"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A configuration object was changed. A changed tenant setting names it (field, old_value, new_value), a changed role its old and new value, a changed event forwarder its state and the settings that changed.",
        "properties": {
          "changed_fields": {},
          "enabled": {
            "description": "On an event forwarder: whether it is enabled after the change."
          },
          "field": {
            "description": "On a tenant setting: the setting that changed."
          },
          "new_role": {
            "description": "On a user: the role after the change."
          },
          "new_value": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "old_role": {
            "description": "On a user: the role before the change."
          },
          "old_value": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "configuration_change.updated",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_other"
          },
          "event_type": {
            "const": "configuration_downloaded"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An asset's configuration was downloaded.",
        "properties": {
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "configuration_other.configuration_downloaded",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_other"
          },
          "event_type": {
            "const": "domains_fetched"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "Domains were fetched from the identity provider.",
        "properties": {
          "object_type": {}
        },
        "required": [
          "object_type"
        ],
        "title": "configuration_other.domains_fetched",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_other"
          },
          "event_type": {
            "const": "fetched"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "User groups were fetched from the identity provider.",
        "properties": {
          "object_type": {}
        },
        "required": [
          "object_type"
        ],
        "title": "configuration_other.fetched",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_other"
          },
          "event_type": {
            "const": "imported"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "User groups were imported from the identity provider.",
        "properties": {
          "object_type": {}
        },
        "required": [
          "object_type"
        ],
        "title": "configuration_other.imported",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "configuration_other"
          },
          "event_type": {
            "const": "synced"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "User groups were synchronised with the identity provider.",
        "properties": {
          "object_type": {}
        },
        "required": [
          "object_type"
        ],
        "title": "configuration_other.synced",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "event_forwarder"
          },
          "event_type": {
            "const": "heartbeat"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "Sent by every forwarder every five minutes, whatever its filters are. Not an event log entry: event_id is 0.",
        "properties": {
          "interval_seconds": {},
          "last_event_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {}
        },
        "required": [
          "interval_seconds",
          "last_event_id",
          "object_id",
          "object_name",
          "object_type"
        ],
        "title": "event_forwarder.heartbeat",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "network_discovery"
          },
          "event_type": {
            "const": "host_disappeared"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A host of the previous scan is gone.",
        "properties": {
          "client": {},
          "interface_name": {},
          "ip": {}
        },
        "required": [
          "client",
          "interface_name",
          "ip"
        ],
        "title": "network_discovery.host_disappeared",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "network_discovery"
          },
          "event_type": {
            "const": "new_host"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A host not seen before appeared on a scanned network.",
        "properties": {
          "client": {},
          "display_name": {},
          "interface_name": {},
          "ip": {},
          "mac": {},
          "manufacturer": {},
          "open_ports": {}
        },
        "required": [
          "client",
          "display_name",
          "interface_name",
          "ip",
          "mac",
          "manufacturer",
          "open_ports"
        ],
        "title": "network_discovery.new_host",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "network_discovery"
          },
          "event_type": {
            "const": "new_service"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A newly open TCP port was found on a known host.",
        "properties": {
          "client": {},
          "interface_name": {},
          "ip": {},
          "port": {
            "description": "The TCP port that was found open."
          }
        },
        "required": [
          "client",
          "interface_name",
          "ip",
          "port"
        ],
        "title": "network_discovery.new_service",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "network_discovery"
          },
          "event_type": {
            "const": "scan_completed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A scan finished and the picture of the network changed.",
        "properties": {
          "client": {},
          "hosts_disappeared": {},
          "interface_name": {},
          "new_hosts": {},
          "new_services": {},
          "services_closed": {}
        },
        "required": [
          "client",
          "hosts_disappeared",
          "interface_name",
          "new_hosts",
          "new_services",
          "services_closed"
        ],
        "title": "network_discovery.scan_completed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "network_discovery"
          },
          "event_type": {
            "const": "service_closed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A port that was open is no longer reachable.",
        "properties": {
          "client": {},
          "interface_name": {},
          "ip": {},
          "port": {
            "description": "The TCP port that is no longer open."
          }
        },
        "required": [
          "client",
          "interface_name",
          "ip",
          "port"
        ],
        "title": "network_discovery.service_closed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "asset_version_outdated"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: an asset's agent is outdated. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.asset_version_outdated",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "asset_windows_dns_ports"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a Windows asset is running out of DNS ports. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.asset_windows_dns_ports",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "asset_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: an asset is in no policy. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.asset_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "broker_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a device cannot reach the broker. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.broker_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "cpu_usage_high"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a device's CPU usage is high. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.cpu_usage_high",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "dhcp_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: DHCP failed on an asset. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.dhcp_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "event_forwarder_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: an event forwarder cannot deliver. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.event_forwarder_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "info_update_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a device's information could not be updated. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.info_update_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "memory_usage_high"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a device's memory usage is high. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.memory_usage_high",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "policy_without_destination"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a policy has no destination. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.policy_without_destination",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "policy_without_source"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a policy has no source. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.policy_without_source",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "split_dns_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: split DNS is broken on a device. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.split_dns_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "subnet_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a subnet is in no policy. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.subnet_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "user_client_disabled_on_create"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a new user client is waiting for activation. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.user_client_disabled_on_create",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "user_client_version_outdated"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a user client's agent is outdated. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.user_client_version_outdated",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "user_client_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a user client is in no policy. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.user_client_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification"
          },
          "event_type": {
            "const": "virtual_asset_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A notification was raised: a virtual asset is in no policy. The message is the notification's text.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification.virtual_asset_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "asset_version_outdated"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that an asset's agent is outdated.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.asset_version_outdated",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "asset_windows_dns_ports"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a Windows asset is running out of DNS ports.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.asset_windows_dns_ports",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "asset_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that an asset is in no policy.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.asset_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "broker_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a device cannot reach the broker.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.broker_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "cpu_usage_high"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a device's CPU usage is high.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.cpu_usage_high",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "dhcp_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that DHCP failed on an asset.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.dhcp_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "event_forwarder_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that an event forwarder cannot deliver.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.event_forwarder_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "info_update_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a device's information could not be updated.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.info_update_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "memory_usage_high"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a device's memory usage is high.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.memory_usage_high",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "policy_without_destination"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a policy has no destination.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.policy_without_destination",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "policy_without_source"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a policy has no source.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.policy_without_source",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "split_dns_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that split DNS is broken on a device.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.split_dns_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "subnet_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a subnet is in no policy.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.subnet_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "user_client_disabled_on_create"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a new user client is waiting for activation.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.user_client_disabled_on_create",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "user_client_version_outdated"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a user client's agent is outdated.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.user_client_version_outdated",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "user_client_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a user client is in no policy.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.user_client_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "notification_cleared"
          },
          "event_type": {
            "const": "virtual_asset_without_policy"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The notification was resolved: no longer true that a virtual asset is in no policy.",
        "properties": {
          "notification_id": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "severity": {}
        },
        "required": [
          "notification_id",
          "object_id",
          "object_name",
          "object_type",
          "severity"
        ],
        "title": "notification_cleared.virtual_asset_without_policy",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "credentials_delivered"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The asset picked the key up.",
        "properties": {
          "client_id": {},
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "vendor"
        ],
        "title": "upstream_firewall.credentials_delivered",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "credentials_expired"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The handover expired before the asset picked the key up.",
        "properties": {
          "client_id": {},
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "vendor"
        ],
        "title": "upstream_firewall.credentials_expired",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "credentials_handed_over"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "An administrator handed the firewall's API key to the asset.",
        "properties": {
          "client_id": {},
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "vendor"
        ],
        "title": "upstream_firewall.credentials_handed_over",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "credentials_invalid"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The firewall rejected the key.",
        "properties": {
          "client_id": {},
          "error": {
            "description": "What the firewall answered."
          },
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "error",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "vendor"
        ],
        "title": "upstream_firewall.credentials_invalid",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "credentials_verified"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "The firewall accepted the key. The device fields are empty where the firewall did not report them.",
        "properties": {
          "client_id": {},
          "device_ha_mode": {},
          "device_hostname": {},
          "device_model": {},
          "device_serial": {},
          "device_vdom": {},
          "device_version": {},
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "device_ha_mode",
          "device_hostname",
          "device_model",
          "device_serial",
          "device_vdom",
          "device_version",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "vendor"
        ],
        "title": "upstream_firewall.credentials_verified",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "sync_failed"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "A synchronisation failed.",
        "properties": {
          "client_id": {},
          "error": {
            "description": "Why the synchronisation failed."
          },
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "objects_left": {},
          "rules_applied": {},
          "rules_failed": {},
          "rules_skipped": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "error",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "objects_left",
          "rules_applied",
          "rules_failed",
          "rules_skipped",
          "vendor"
        ],
        "title": "upstream_firewall.sync_failed",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    },
    {
      "if": {
        "properties": {
          "event_class": {
            "const": "upstream_firewall"
          },
          "event_type": {
            "const": "sync_recovered"
          }
        },
        "required": [
          "event_class",
          "event_type"
        ]
      },
      "then": {
        "description": "Synchronisation works again.",
        "properties": {
          "client_id": {},
          "detail": {},
          "management_url": {},
          "object_id": {},
          "object_name": {},
          "object_type": {},
          "objects_left": {},
          "rules_applied": {},
          "rules_failed": {},
          "rules_skipped": {},
          "vendor": {}
        },
        "required": [
          "client_id",
          "detail",
          "management_url",
          "object_id",
          "object_name",
          "object_type",
          "objects_left",
          "rules_applied",
          "rules_failed",
          "rules_skipped",
          "vendor"
        ],
        "title": "upstream_firewall.sync_recovered",
        "x-since": "0.1.0",
        "x-stability": "stable"
      }
    }
  ],
  "description": "One forwarded event as it was before version 1.0.0: the JSON body of a syslog message, with the event's fields at the top level. Every field is in $defs with its type, the version it appeared in (x-since) and whether the compatibility promise covers it (x-stability). Every event type is one entry of allOf: the fields it has (properties) and always has (required). A receiver has to ignore fields and accept event types it does not know.",
  "properties": {
    "actor": {
      "$ref": "#/$defs/actor"
    },
    "api_key": {
      "$ref": "#/$defs/api_key"
    },
    "asn": {
      "$ref": "#/$defs/asn"
    },
    "asn_organization": {
      "$ref": "#/$defs/asn_organization"
    },
    "auth_type": {
      "$ref": "#/$defs/auth_type"
    },
    "changed_fields": {
      "$ref": "#/$defs/changed_fields"
    },
    "city": {
      "$ref": "#/$defs/city"
    },
    "client": {
      "$ref": "#/$defs/client"
    },
    "client_id": {
      "$ref": "#/$defs/client_id"
    },
    "client_ip": {
      "$ref": "#/$defs/client_ip"
    },
    "client_name": {
      "$ref": "#/$defs/client_name"
    },
    "client_version": {
      "$ref": "#/$defs/client_version"
    },
    "country": {
      "$ref": "#/$defs/country"
    },
    "created_at": {
      "$ref": "#/$defs/created_at"
    },
    "detail": {
      "$ref": "#/$defs/detail"
    },
    "device": {
      "$ref": "#/$defs/device"
    },
    "device_ha_mode": {
      "$ref": "#/$defs/device_ha_mode"
    },
    "device_hostname": {
      "$ref": "#/$defs/device_hostname"
    },
    "device_id": {
      "$ref": "#/$defs/device_id"
    },
    "device_model": {
      "$ref": "#/$defs/device_model"
    },
    "device_serial": {
      "$ref": "#/$defs/device_serial"
    },
    "device_vdom": {
      "$ref": "#/$defs/device_vdom"
    },
    "device_version": {
      "$ref": "#/$defs/device_version"
    },
    "display_name": {
      "$ref": "#/$defs/display_name"
    },
    "effective_tenant": {
      "$ref": "#/$defs/effective_tenant"
    },
    "enabled": {
      "$ref": "#/$defs/enabled"
    },
    "error": {
      "$ref": "#/$defs/error"
    },
    "error_display": {
      "$ref": "#/$defs/error_display"
    },
    "event_class": {
      "$ref": "#/$defs/event_class"
    },
    "event_id": {
      "$ref": "#/$defs/event_id"
    },
    "event_type": {
      "$ref": "#/$defs/event_type"
    },
    "fail_open": {
      "$ref": "#/$defs/fail_open"
    },
    "field": {
      "$ref": "#/$defs/field"
    },
    "host": {
      "$ref": "#/$defs/host"
    },
    "hosts_disappeared": {
      "$ref": "#/$defs/hosts_disappeared"
    },
    "interface_name": {
      "$ref": "#/$defs/interface_name"
    },
    "interval_seconds": {
      "$ref": "#/$defs/interval_seconds"
    },
    "ip": {
      "$ref": "#/$defs/ip"
    },
    "last_event_id": {
      "$ref": "#/$defs/last_event_id"
    },
    "login_ip": {
      "$ref": "#/$defs/login_ip"
    },
    "mac": {
      "$ref": "#/$defs/mac"
    },
    "management_url": {
      "$ref": "#/$defs/management_url"
    },
    "manufacturer": {
      "$ref": "#/$defs/manufacturer"
    },
    "message": {
      "$ref": "#/$defs/message"
    },
    "new_hosts": {
      "$ref": "#/$defs/new_hosts"
    },
    "new_role": {
      "$ref": "#/$defs/new_role"
    },
    "new_rule_description": {
      "$ref": "#/$defs/new_rule_description"
    },
    "new_rule_remote_address": {
      "$ref": "#/$defs/new_rule_remote_address"
    },
    "new_service_definition_id": {
      "$ref": "#/$defs/new_service_definition_id"
    },
    "new_services": {
      "$ref": "#/$defs/new_services"
    },
    "new_value": {
      "$ref": "#/$defs/new_value"
    },
    "notification_id": {
      "$ref": "#/$defs/notification_id"
    },
    "object_id": {
      "$ref": "#/$defs/object_id"
    },
    "object_name": {
      "$ref": "#/$defs/object_name"
    },
    "object_type": {
      "$ref": "#/$defs/object_type"
    },
    "objects_left": {
      "$ref": "#/$defs/objects_left"
    },
    "old_remote_addr": {
      "$ref": "#/$defs/old_remote_addr"
    },
    "old_role": {
      "$ref": "#/$defs/old_role"
    },
    "old_rule_description": {
      "$ref": "#/$defs/old_rule_description"
    },
    "old_rule_remote_address": {
      "$ref": "#/$defs/old_rule_remote_address"
    },
    "old_service_definition_id": {
      "$ref": "#/$defs/old_service_definition_id"
    },
    "old_value": {
      "$ref": "#/$defs/old_value"
    },
    "open_ports": {
      "$ref": "#/$defs/open_ports"
    },
    "os": {
      "$ref": "#/$defs/os"
    },
    "partner": {
      "$ref": "#/$defs/partner"
    },
    "policy_id": {
      "$ref": "#/$defs/policy_id"
    },
    "port": {
      "$ref": "#/$defs/port"
    },
    "reason": {
      "$ref": "#/$defs/reason"
    },
    "remote_address": {
      "$ref": "#/$defs/remote_address"
    },
    "role": {
      "$ref": "#/$defs/role"
    },
    "route": {
      "$ref": "#/$defs/route"
    },
    "rule_description": {
      "$ref": "#/$defs/rule_description"
    },
    "rule_remote_address": {
      "$ref": "#/$defs/rule_remote_address"
    },
    "rules_applied": {
      "$ref": "#/$defs/rules_applied"
    },
    "rules_failed": {
      "$ref": "#/$defs/rules_failed"
    },
    "rules_skipped": {
      "$ref": "#/$defs/rules_skipped"
    },
    "samples_expected": {
      "$ref": "#/$defs/samples_expected"
    },
    "samples_over": {
      "$ref": "#/$defs/samples_over"
    },
    "service_definition_id": {
      "$ref": "#/$defs/service_definition_id"
    },
    "services_closed": {
      "$ref": "#/$defs/services_closed"
    },
    "session_id": {
      "$ref": "#/$defs/session_id"
    },
    "session_type": {
      "$ref": "#/$defs/session_type"
    },
    "severity": {
      "$ref": "#/$defs/severity"
    },
    "tenant_name": {
      "$ref": "#/$defs/tenant_name"
    },
    "threshold_percent": {
      "$ref": "#/$defs/threshold_percent"
    },
    "user": {
      "$ref": "#/$defs/user"
    },
    "user_email": {
      "$ref": "#/$defs/user_email"
    },
    "user_name": {
      "$ref": "#/$defs/user_name"
    },
    "vendor": {
      "$ref": "#/$defs/vendor"
    }
  },
  "required": [
    "created_at",
    "event_class",
    "event_id",
    "event_type",
    "message",
    "session_type"
  ],
  "title": "XplicitTrust forwarded event 0.1.0",
  "type": "object",
  "x-common-optional": [
    "actor",
    "api_key",
    "asn",
    "asn_organization",
    "auth_type",
    "city",
    "client",
    "client_name",
    "client_version",
    "country",
    "effective_tenant",
    "host",
    "login_ip",
    "os",
    "partner",
    "remote_address",
    "role",
    "session_id",
    "tenant_name",
    "user",
    "user_email"
  ],
  "x-product-release": "1.136",
  "x-release-date": "2026-11-08",
  "x-schema-version": "0.1.0"
}
