Skip to main content
Use a Custom Push Source when a system sends records to Living Security instead of being polled by a Catalog connector. The sender can submit JSON arrays, NDJSON, or CSV files to a regional HTTPS endpoint.

Before you begin

You need:
  • permission to manage integrations and access keys in Living Security
  • a server-side sender that can make HTTPS POST requests
  • the Living Security region for your organization
  • a stable source name and at least one stream name
Source names and stream names are permanent routing keys. Source names must be 1–64 lowercase letters, digits, or hyphens. Stream names also allow underscores. Both must start with a letter or digit.
Treat the API access key as a secret. Do not place it in browser code, commit it to source control, or send it in a support ticket.

1. Register the source and streams

1

Open Custom Push Source

Open Settings → Integrations. Find Custom Push Source under Add an integration. In the earlier layout, select Add Integration to open Catalog. Select Create Source on Custom Push Source.You can also find Custom Push Source in Your own data when that category is shown.
2

Name the source

Enter the source routing key and an optional description. For example, use custom-phishing-sim rather than a display name with spaces.
3

Add streams

Add each stream the sender will use. The source and stream pair must exist before the first push; an unknown pair returns 404 Not Found.
4

Save the source

After creation, open the source under Settings → Integrations → Connected. Its Push via API view shows the endpoint pattern and recent runs.

2. Create a push-ingest key

Open the legacy key list, select Create API Key (or Create Custom Push key in the Developer Hub), and choose the Push Ingest scope. Copy the generated value immediately; it is shown only once. The key is bound to one Living Security organization. The push request does not need an organization header. See API Access Keys for rotation and revocation.

3. Choose the regional endpoint

Use the hostname for the Living Security organization: Append /push-ingest/{integrationKey}/{streamName}. The path is case-sensitive and must exactly match the registered source and stream.
string
required
The registered source name. Use 1–64 lowercase letters, digits, or hyphens, starting with a letter or digit.
string
required
The registered stream name. The same rules apply, and underscores are also allowed.
string
required
Send the push-ingest access key as Bearer <access-key>.
string
Use application/json for a JSON array, application/x-ndjson (or application/jsonl, application/json-lines) for NDJSON, or text/csv for CSV. When the header is omitted or generic, the server detects a JSON array (body starts with [) or NDJSON (body starts with {).
string
Optional organization UUID. The access key already determines the organization. If you send this header, it must match the key’s organization; it cannot select another organization.

Request body

Send a top-level, non-empty JSON array of objects, NDJSON (one JSON object per line), or CSV file bytes with a header row. There is no named JSON wrapper field. Each request can carry up to 10,000 records and 10 MB after decompression, whatever the format. With Large pushes, one request can carry up to 500 MB and you do not need to split the export. Gzip (Content-Encoding: gzip) works for every format. See Compressed requests.

4. Send a JSON batch

Send a non-empty JSON array whose elements are objects. Content-Type: application/json is recommended and is required by many sending products even though Living Security can detect an array body without it.
A successful request returns 202 Accepted. The error tab shows a 400 Bad Request when the JSON body is malformed:
Acceptance means the batch was stored for asynchronous processing. It does not mean every record has already been interpreted into activity. For the 400 example, correct the body or use one of the accepted formats, then retry. An NDJSON error names the line number, for example Line 3 is not valid JSON.
string
required
The run ID for this accepted batch. Keep it to check processing status.
number
required
The number of records accepted and stored.
string
required
The source name used for this push.
string
required
The stream name used for this push.

Send NDJSON from Cribl

NDJSON is the default output of the Cribl Webhook destination. Point the destination at the endpoint URL and set:
  • Method: POST
  • Format: NDJSON (Cribl sends Content-Type: application/x-ndjson)
  • Authorization: an Authorization: Bearer <access-key> extra header
  • Compression: gzip is supported
Each non-empty line must be one JSON object. A line that is not a JSON object returns a 400 that names the line. A single object with no NDJSON Content-Type is rejected, because it is usually a missing array wrapper: send it as an array or set Content-Type: application/x-ndjson.

Send CSV instead

Set Content-Type: text/csv and send the file bytes, as shown in the CSV file request example above. The first row supplies field names. Boolean text becomes a boolean and ordinary numeric text becomes a number. Leading-zero values, unsafe large integers, dates, and other text remain strings. Empty cells omit that field. Malformed rows, unbalanced quotes, and UTF-16 files are rejected.

Compressed requests

The endpoint accepts a gzip or deflate compressed body for JSON, NDJSON and CSV. Compress the body yourself and set Content-Encoding: gzip (or deflate). Keep Content-Type set to the format of the data inside, application/json, application/x-ndjson or text/csv.
Gzip-compressed JSON
  • The size limit applies to the decompressed body, not the compressed size. A small compressed body that expands past the limit returns 413. With Large pushes, compression keeps a large export under the 100 MB transfer limit.
  • A .gz file sent with Content-Type: application/gzip and no Content-Encoding header is not supported. The server reads the compressed bytes as text and returns 400. Add Content-Encoding: gzip and set Content-Type to the data format.

Request limits and retries

Wait for each response and keep the returned runId or uploadId in sender logs.

Large pushes

A request over 10 MB or 10,000 records is accepted as one upload and split into runs of up to 50,000 rows after the response. The 202 body says so:
  • The runs from it appear in Push History, labelled with the uploadId. They do not show which access key sent the upload, so keep the uploadId in your sender logs to trace it.
  • Errors inside a large push, such as a malformed row, are not in the 202. Push History shows them as a rejected push naming the uploadId, and nothing from that upload is stored. Fix the data and send it again.
  • Sending the same bytes again adds nothing: an identical upload for the same stream is skipped.
The normal authenticated organization limit returns 503, not 429, so webhook senders treat it as retriable. A 503 is returned before the batch is stored; resending that same batch after the stated interval does not duplicate an accepted run.

Verify the data flow

Open the Custom Push Source and review Push History. Confirm the stream, record count, key attribution, and processing status. Data with a maintained interpreter can then become people and normalized activity. Data without an interpreter remains stored but does not produce activity.
Use exact field names and payload shape from the provider-specific guide when one exists. A successful 202 proves delivery, not that an arbitrary schema maps to Living Security activity.

Troubleshooting checklist

  • Copy the endpoint from the correct source and replace the stream placeholder.
  • Send the access key as Authorization: Bearer …; x-api-key is not accepted.
  • Confirm the body is a top-level JSON array, not a single object or an envelope around the records.
  • Confirm the source and stream spelling, including hyphens, underscores, and case.
  • Review Push History before resending a batch whose response was lost.
  • When contacting Living Security Support, include the organization, source, stream, request time, runId when available, and response status. Do not include the access key or event payload.

Fill in the command from the Dashboard

The Push via API view of a source can fill in the cURL command for you, so you do not replace the placeholders by hand. The command already uses the endpoint for your organization’s region.
  1. Open the source under Settings → Integrations → Connected and go to Push via API.
  2. In Stream, select the stream to send to. The first stream of the source is selected by default.
  3. Leave Push key empty in the command builder. Select Copy and use the template with its key placeholder in your sender.
  4. Configure the sender to load the key from its secret store at request time and supply it in the Authorization header.
To create a key, select Create a push key. Store the one-time value directly in the sender’s secret store. With the command builder, you can also select Use in and the source name to fill Push key once. The original panel has no Push key field. Copy the one-time value from the creation screen into the secret store and configure the sender to replace the placeholder at request time. If you copy a command with the key filled in, the clipboard contains the full key. Running that literal command in an interactive shell can save it in shell history. Reloading the tab clears the field on the page and leaves any copied values in place.

Zscaler ZIA Cloud NSS

Configure a supported Zscaler web-log feed with the exact source, stream, headers, and JSON shape.

API Access Keys

Create, rotate, and revoke scoped credentials.

Signal Data Sources

Learn how interpreted integration activity supports signals.