Webhook

Last Update24 Mar 2020
AuthenticationYES
HTTP MethodPOST
Content Typeapplication/json
Response FormatJSON
RequirementsOnly applicable for enterprise accounts
Changes

MetaDefender IT-OT Access now supports webhook to allow an account to push a notification to a 3rd-party vendor when an event is triggered. The 3rd party vendor can leverage this feature to continuously monitor device compliance status while a device is connecting to a protected resources/applications.

Configuration

An administrator can enable this feature by following the below steps

  • Log into MetaDefender IT-OT Access console
  • Navigate to Settings > Integrations
  • On the Webhook tab,
    • Enter a callback API which you would like MetaDefender IT-OT Access push a notification to
    • Enter an API Key to authenticate with the callback API server
    • Check on events to trigger a notification.

**

**

Warning:

  • This feature will be auto-disabled if MetaDefender IT-OT Access could not reach out to a configured callback API. Administrators need to log into MetaDefender IT-OT Access console and enable this feature manually in that case.

Callback API Definition

API URL

Copy

Request Header

KeyValueDescription
Content-Typeapplication/json
AuthorizationAPI Key value3rd party vendor needs to issue an API key for authentication purpose

Request Parameters

KeyDataTypeDescription
device_idstringDevice ID
statusstring

device status Values can be:

  • "compliant": A device changes status to compliant
  • "non_compliant": A d evice changes status to non- compliant
  • "installed": A device installed MetaDefender Endpoint
  • " deleted ": A device was removed from the account. This can happen when
    • a device is deleted by an administrator from console or through an API action.
    • a user uninstalled the MetaDefender Endpoint on the device

Note: this can be extended in future

timestamplongTimestamp when an even is triggered (Unix timestamps in milliseconds)

Response Code

HTTP CodeDescription
2xx For example: 200, 202Successful
other codesFailed MetaDefender IT-OT Access will retry 2 times after 4 seconds and 1 min. And MetaDefender IT-OT Access will auto-disable the Webhook settings if it fails 100 consecutive pushes

Example Request

Copy

Example Response successful (HTTP 2xx)

Copy

Example Response failed (HTTP code is not equal 2xx)

Copy

Logs

MetaDefender IT-OT Access records an event log when it pushes a notification to a configured callback API with a HTTP status code from the API. Administrators can check event logs for this feature at Event Log > Webhook

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard