Network telemetry
Import TLS metadata from your Cloudflare Gateway Zero Trust Network Session Logs into your workspace. Each session can produce separate client-to-gateway and gateway-to-destination observations. These are provider reports, not handshakes independently verified by Sectigo Quantum Ready. TLS 1.3 alone does not establish post-quantum key exchange or authentication.
Before you start
- Sign in as a workspace administrator.
- Confirm your provider account offers the
zero_trust_network_sessionsdataset. Availability depends on your account and plan. - Find the provider's 32-character account ID. This is not your qscan workspace ID.
- Use a provider API token scoped to that account with Logs Write permission to configure Logpush. Qscan never asks you to save that provider API token.
This integration does not enable HTTPS decryption, change gateway policy or install an agent. Existing agent capture and hosted TLS/QUIC scans remain separate sources.
1. Create the receiver
Open Integrations → Network telemetry → Connect network logs → Add connection. Enter a descriptive name and the provider account ID. Choose whether destination names and addresses may appear in findings, then confirm your authorization.
By default, destination names and addresses are omitted from stored evidence. Connection-scoped hashes correlate observations for the same destination; this is pseudonymization, not anonymization. User email, source IP, device names, URL paths, query strings, certificate issuer text and payload content are not retained. Account binding and privacy choice stay fixed. Create a new receiver to change them.
2. Issue and save a credential
Choose a credential lifetime and select Issue credential. Save the one-time credential in your secret manager. The page also provides a complete Logpush job configuration; it contains the credential, so handle it as a secret.
The receiver credential can only submit logs to this one connection. It cannot read inventory or manage the workspace. Qscan stores a hash, not the credential itself. Replacing it immediately invalidates the old credential, including pending uploads. If issuance is interrupted, refresh connection details before issuing again.
3. Configure the provider job
Save the copied configuration as a protected local logpush-job.json file. It sets:
| Setting | Value |
|---|---|
| Dataset | zero_trust_network_sessions |
| Destination | Your connection's HTTPS receiver address |
| Authentication | Authorization header containing the receiver Bearer credential |
| Maximum batch bytes | 5000000 |
| Maximum batch records | 1000 |
| Timestamp format | rfc3339 |
The generated header_Authorization destination parameter tells the provider to
send an HTTP header. Do not append credentials as ordinary receiver query parameters.
Create the job with the provider's account-level API. Supply your account ID and provider token through your shell's secure environment or secret manager:
curl --fail-with-body \
"https://api.cloudflare.com/client/v4/accounts/${ACCOUNT_ID}/logpush/jobs" \
--header "Authorization: Bearer ${PROVIDER_API_TOKEN}" \
--header "Content-Type: application/json" \
--data-binary @logpush-job.json
Do not enable verbose HTTP logging. Retain the returned job ID for updates and troubleshooting, then remove the local secret-bearing file when no longer needed. The provider validates the destination with a gzip-compressed test object. This check verifies receiver access, not delivery of real network session records.
The required fields are AccountID, SessionID, SessionStartTime, and
SessionEndTime. The generated configuration also includes the separate client
and origin TLS version/cipher fields, origin certificate validation result, and
destination identifiers used for correlation. Do not replace this with the
different gateway_network or gateway_http datasets.
4. Verify delivery
Select I saved it — check delivery, then open Delivery status. Refresh after generating traffic through the gateway. Check these separately:
- Destination check: the provider reached your authenticated receiver.
- Latest delivery: real records were accepted, with observation and duplicate counts. Sessions without TLS fields are counted explicitly, not presented as successful cryptographic discovery.
- Cryptographic inventory: inspect the two connection legs and provider-reported evidence. A reported valid certificate does not imply independent chain validation.
The receiver accepts plain or gzip JSONL, up to 6 MiB compressed and expanded and 2,000 records per request. This leaves headroom above the configured provider batch. Nanosecond timestamps are preserved exactly. Records must end within the past 30 days and no more than five minutes ahead. Replays are deduplicated during that window. A batch commits completely or fails without partially adding evidence. Raw uploads are not saved; normalized evidence follows workspace archive handling.
Troubleshooting
Delivery status shows the latest authenticated upload rejection with its time, error code and a specific recovery action. Raw logs, secret headers and arbitrary error messages are never stored in this diagnostic. A successful data delivery clears the warning; a destination probe alone does not. Replacing a credential starts a fresh diagnostic state. The connection also reports expired credentials or lost administrator authorization even before another upload is attempted.
| Symptom | What to check |
|---|---|
| Destination validation fails | Receiver URL, Authorization header, credential expiry and current connection state. Use the generated configuration. |
| Destination check succeeds, no delivery | Dataset availability, enabled provider job, selected fields and actual gateway traffic. |
401 receiver-unauthorized | Replace an expired/revoked credential and update the provider job. The administrator who issued it must retain authorization. |
| Account mismatch | AccountID must match the configured provider account. A payload can never choose a different workspace. |
| Timestamp error | Use RFC3339 UTC or exact Unix nanoseconds; Unix seconds and rounded numeric values are not equivalent. |
| Upload too large | Configure the 5 MB/1,000-record maxima above. Do not send a day's logs as one upload. |
429 | Respect Retry-After. Receiver budgets allow 20 requests/minute per connection and 60/minute per workspace, independently of workspace controls. |
| No new observations on retry | Check duplicate counts; this is expected for an already accepted batch. |
| No TLS metadata | The session record contained no client/origin TLS fields. Check selected fields and traffic protocol. |
Rotate, disconnect and archive
Use the row's More → Replace receiver credential action before expiry. Update the provider job immediately with the new credential; there is no overlap period.
Disconnect rejects further uploads. Disable the provider job to stop retries. Then Archive removes the connection from the working list while preserving findings. Restoring an archived connection leaves it disconnected until you issue a new credential.
SDK and OAuth MCP
The JavaScript SDK provides telemetryConnections(), telemetryConnection(id) and
telemetryStatus(id). Python equivalents are telemetry_connections(),
telemetry_connection(id) and telemetry_status(id). OAuth-authorized MCP clients
can use telemetry_connections, telemetry_connection and telemetry_status.
These expose metadata and receipts, never receiver credentials. Credential issuance
and connection management use the workspace administrator browser flow.
Provider references: session dataset and HTTP destination setup.
Permanently delete a receiver
Disconnect the receiver, then choose Delete permanently from its More menu. Archived receivers also offer Delete permanently. Review the inline confirmation or select Keep connection. Deletion removes the account/privacy settings, receiver credential record and delivery diagnostics. Existing findings, immutable evidence and pending evidence-archive work remain in the workspace. Deduplication markers continue their normal thirty-day expiry; deletion does not perform an unbounded inventory sweep.
Disable or delete the provider's Logpush job separately. QScan does not hold your provider management credential and cannot stop that job. Deleted receiver URLs reject future uploads and destination probes, including uploads that began before deletion. Removing the connection never restores its old receiver credential.
If the deletion response is lost, retry using the same connection revision.
Same-revision retries are idempotent. The verified administrator browser endpoint
POST /api/auth/telemetry/manage accepts operation: "delete", connectionId,
expectedRevision and confirm: true. Disconnect first. Normal reads, delivery
status, ingestion and restore requests return 404 after deletion. Inventory and
evidence remain available through their normal workspace/API/MCP views.