Stream DLP Events to Your SIEM

Send every ZeusLock detection to your SIEM in OCSF format: pull it with the /api/v1/siem/events API, or push it to Splunk, Microsoft Sentinel or Elastic.

Before you start

ZeusLock delivers every detection to your SIEM as an OCSF event. Your SIEM can pull the events from the API, or ZeusLock can push them to Splunk, Microsoft Sentinel or Elastic. Both are set up from SIEM in the dashboard sidebar (page SIEM Integrations, Forward or pull DLP events in OCSF format).

You need an admin account and an organisation API key (zl_…): see Generate & Manage API Keys. On-premises, replace https://api.zeuslock.ai with your own API host.

Option A: pull the events (your SIEM polls ZeusLock)

  1. Open API Keys, click + Create a key, name it after your SIEM and copy the key.

    Result: a new key with status Active.

  2. Test the endpoint from a terminal. It returns the blocked events only:

    curl -H "X-API-Key: zl_YOUR_ORGANISATION_KEY" \
      "https://api.zeuslock.ai/api/v1/siem/events?severity=critical&limit=200"

    Result: a JSON answer with events and next_cursor.

  3. Configure your SIEM collector to call GET https://api.zeuslock.ai/api/v1/siem/events on a schedule, with the key in one of these headers:

    Authorization: Bearer zl_YOUR_ORGANISATION_KEY
    X-API-Key: zl_YOUR_ORGANISATION_KEY

    Result: the first run returns up to 100 events (the default page size).

  4. After each page, store next_cursor and pass it back as cursor on the next call. Keep calling until a page comes back empty:

    curl -H "X-API-Key: zl_YOUR_ORGANISATION_KEY" \
      "https://api.zeuslock.ai/api/v1/siem/events?cursor=NEXT_CURSOR_FROM_LAST_PAGE&limit=500"

    Result: each run returns only the events that are new since the last one.

Query parameters (all optional)

ParameterWhat it does
cursorWhere to continue: the next_cursor of the previous answer. since and after are accepted as other names; if you send several they must be equal.
limitEvents per page. Default 100, maximum 500.
categoryEvent category. DLP events use dlp.
severityMinimum severity: unknown, low, medium, high or critical. DLP events are either medium or critical, so medium returns everything and critical (or high) returns blocked events only.
start_time or fromOnly events at or after this time.
end_time or toOnly events at or before this time.

The answer always has this shape:

{
  "events": [ ... ],
  "next_cursor": "..."
}

Example: Wazuh

ZeusLock has no Wazuh-specific integration: Wazuh reads the same pull API as any other client. On a Wazuh agent, a scheduled script calls the endpoint with cursor, writes one event per line to a file and keeps the last next_cursor. A <localfile> block with log_format json reads that file, and a rule on class_uid 6004 raises the alerts.

Option B: push the events (ZeusLock sends them to your SIEM)

  1. On the SIEM page, under Push integrations, click Add SIEM.

    Result: the integration form opens.

  2. Enter a Name, choose the SIEM type and fill in its fields:

    • Splunk HEC: Endpoint URL, HEC token, Index, Source, Sourcetype.
    • Microsoft Sentinel: Workspace ID, Shared key, Table name.
    • Elastic Bulk API: Endpoint URL, API key.

    Result: the form accepts the values.

  3. Click Test connection.

    Result: SIEM connection test succeeded.

  4. Click Create integration.

    Result: the integration is listed as Enabled. Use Disable / Enable to pause and resume it.

Push sends the same OCSF events as the pull API.

What each event contains

  • Severity is the outcome, as on the Incidents page: a blocked request is Critical (severity_id 5); anything the user was warned about and could send is Medium (severity_id 3), shown as Warning in the dashboard. How sensitive the data is stays in unmapped.risk_level.
  • dst_endpoint.url never carries a query string or fragment, and is cut at 512 characters (ending in ...[truncated]).
  • unmapped.data_types names what was found: credit_card, iban, bank_account, uk_sort_code, crypto_wallet, email, phone, address, person_name, passport, ssn, nir_fr, uk_nino, api_key, password, jwt_token, private_key, env_variable, connection_string, source_code, ip_address, zd_identity, zd_contact, zd_financial, zd_secrets, zd_technical, health_data, legal_confidential, jailbreak_attempt, custom_<id>. zd_*, health_data and legal_confidential come from the ZeusLock detection model; custom_<id> is one of your own rules or lists, and its name is in unmapped.findings[].name.

Known limits

  • Events are kept for 90 days by default: pull at least that often.
  • There is no streaming endpoint: the pull API is polled.
  • Only an admin can add, test or change push integrations.

If something fails

ProblemFix
401 or 403 from the pull APIThe key is wrong, revoked or a personal zlu_ token. Use an active organisation key (zl_…) from API Keys.
400 Invalid severity filterUse one of unknown, low, medium, high, critical.
400 cursor, since and after disagreeSend only one of the three.
The same events come back on every runYour collector does not store next_cursor. Pass the last value as cursor.
SIEM connection test failedCheck the endpoint URL, the token or key, and that your SIEM accepts connections from the internet.