File Detection for Endpoints

Alert Forwarding

Alert Forwarding delivers verified alerts from File Detection for Endpoints to your security system by webhook. When ProActive has verified a match, it sends an HTTPS callback with a JSON payload to the endpoint you configure, so that the alert arrives in your normal incident flow. This article explains how the delivery works and how to set up your receiving system to handle it.

Before you set up the webhook

You create the webhook on the Alert Forwarding page in the ProActive portal, with a name, the endpoint URL of your receiving system and, optionally, a shared secret. Prepare the receiving side first:

  • An HTTPS endpoint in your security system that can receive the JSON payload and process it.
  • A valid TLS certificate from a trusted public certificate authority on the receiving server.
  • The fixed IP address of the sending server, 4.223.124.123, if you allow-list or monitor incoming traffic. The address is static. If it has to change, NetClean informs customers in advance.
  • A shared secret, so that you can verify that each callback comes from ProActive.
The payload contains personal and sensitive information. Make sure the receiving server is secure, so that the data is protected both in transit and in storage.

Verify the webhook signature

A shared secret is optional, but we recommend it, because it lets you verify the integrity and authenticity of every callback. When a shared secret is set, ProActive signs each payload:

  1. It calculates an HMAC-SHA256 hash from your shared secret and the exact JSON body of the webhook.
  2. It encodes the result in Base64 and places it in the X-Signature header.


To verify a callback, recalculate the HMAC-SHA256 hash of the received JSON payload with the same shared secret, encode it in Base64, and compare it with the value in the X-Signature header. If they match, the payload is untampered. Use the raw body exactly as it was received.


Example in C# for reference:

private static string ComputeHmacSha256Hash(string secretKey, byte[] payload)
{
    using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(secretKey));
    var hash = hmac.ComputeHash(payload);
    return Convert.ToBase64String(hash);
}

Test the webhook

Run a manual test after you have created the webhook, by selecting Test after saving. ProActive sends a demo alert to your endpoint, and you can repeat the test at any time. The result of the latest test, manual or automatic, is shown in the webhook view in the portal. If the callback fails, the error message is shown under Details.


The service can also test the webhook automatically. When you create or edit a webhook, select the option that sends a demo alert every 24 hours. These demo alerts are sent at approximately 12:00 UTC.

Set up an alert in your receiving system that triggers if the scheduled daily callback doesn't arrive within a couple of minutes after 12:00 UTC. It tells you that the delivery path is broken before a real alert needs it.
End-to-end validation, where you trigger a demo alert on an endpoint with a demo image, does not generate a "Latest test" message in the webhook view. See "Deploying the agent for Workstation Event Screening".

Delivery and retries

If a delivery fails, ProActive retries automatically every hour for up to 7 days. After that, the undelivered alert is marked as failed and is no longer retried, and its data is removed.

Understanding alerts

Each file event, for example downloading, opening, previewing a thumbnail in File Explorer or deleting a file, triggers a separate alert. System-initiated actions such as indexing also generate alerts, because they involve file access. A single file can therefore generate several alerts.

Each alert has a unique identifier, alertIdentifier. Each alert is sent as a single version, so you don't need to handle several versions of the same alert. The alertVersion field in the payload is always null. Your receiving system can ignore it, and shouldn't depend on it.

Notification handling

Because one file can produce several alerts, configure notifications carefully so that you don't send excessive emails. One approach is to notify only for the first alert per unique file hash, and then follow later alerts directly in your receiving security system.

What an alert contains

Each alert contains an identifier (tenant and alert ID) and the alert data: which device the event happened on, which file was involved, and which process or user performed the action. An alert can include one or more events, such as a file being created, opened, moved or deleted. For every field in the payload, see "Alert webhook payload".