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)
Open API Keys, click + Create a key, name it after your SIEM and copy the key.
Result: a new key with status Active.
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
eventsandnext_cursor.Configure your SIEM collector to call
GET https://api.zeuslock.ai/api/v1/siem/eventson a schedule, with the key in one of these headers:Authorization: Bearer zl_YOUR_ORGANISATION_KEY X-API-Key: zl_YOUR_ORGANISATION_KEYResult: the first run returns up to 100 events (the default page size).
After each page, store
next_cursorand pass it back ascursoron 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)
| Parameter | What it does |
|---|---|
cursor | Where 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. |
limit | Events per page. Default 100, maximum 500. |
category | Event category. DLP events use dlp. |
severity | Minimum 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 from | Only events at or after this time. |
end_time or to | Only 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)
On the SIEM page, under Push integrations, click Add SIEM.
Result: the integration form opens.
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.
Click Test connection.
Result: SIEM connection test succeeded.
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_id5); anything the user was warned about and could send isMedium(severity_id3), shown as Warning in the dashboard. How sensitive the data is stays inunmapped.risk_level. dst_endpoint.urlnever carries a query string or fragment, and is cut at 512 characters (ending in...[truncated]).unmapped.data_typesnames 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_dataandlegal_confidentialcome from the ZeusLock detection model;custom_<id>is one of your own rules or lists, and its name is inunmapped.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
| Problem | Fix |
|---|---|
| 401 or 403 from the pull API | The key is wrong, revoked or a personal zlu_ token. Use an active organisation key (zl_…) from API Keys. |
400 Invalid severity filter | Use one of unknown, low, medium, high, critical. |
400 cursor, since and after disagree | Send only one of the three. |
| The same events come back on every run | Your collector does not store next_cursor. Pass the last value as cursor. |
| SIEM connection test failed | Check the endpoint URL, the token or key, and that your SIEM accepts connections from the internet. |