Proofpoint On Demand
Synopsis
Creates a WebSocket consumer that connects to Proofpoint's On Demand (POD) log stream service and receives email security event data. Supports both message and maillog data types with secure token authentication.
Schema
- id: <numeric>
name: <string>
description: <string>
type: proofpoint
tags: <string[]>
pipelines: <pipeline[]>
status: <boolean>
properties:
endpoint: <string>
cluster: <string>
token: <string>
type: <string>
secure: <boolean>
workers: <numeric>
reuse: <boolean>
Configuration
The following fields are used to define the device:
Device
| Field | Required | Default | Description |
|---|---|---|---|
id | Y | Unique numeric identifier | |
name | Y | Device name | |
description | N | - | Optional description |
type | Y | Must be proofpoint | |
tags | N | - | Array of labels for categorization |
pipelines | N | - | Array of preprocessing pipeline references |
status | N | true | Enable/disable the device |
Connection
| Field | Required | Default | Description |
|---|---|---|---|
endpoint | Y | "wss://logstream.proofpoint.com:443/v1/stream" | Proofpoint WebSocket endpoint URL |
cluster | Y | Proofpoint cluster identifier | |
token | Y | Authentication token for Proofpoint API | |
type | Y | "message" | Data type to consume (message or maillog) |
secure | N | false | Enable token encryption in configuration |
Performance
| Field | Required | Default | Description |
|---|---|---|---|
workers | N | 1 | Number of worker processes |
reuse | N | true | Enable multi-worker mode |
Details
WebSocket Connection
The device establishes a persistent WebSocket connection to Proofpoint's On Demand log stream service. The connection URL includes query parameters for cluster ID and data type. Bearer token authentication is used in the Authorization header.
Data Types
Proofpoint supports two log data types:
- message: Email processing logs including connection metadata, envelope details, message headers, and filter module results
- maillog: Mail transfer agent logs including SMTP transactions and delivery status
Token Security
When secure is set to true, the token is encrypted in the YAML configuration using the service shared key. The token is decrypted at runtime before authentication. This prevents token exposure in configuration files.
Performance Tuning
The reuse field enables multi-worker mode for processing messages concurrently. When enabled, the specified number of workers processes consume data in parallel, improving throughput for high-volume log streams.
Connection Management
The device handles WebSocket connection lifecycle including automatic reconnection on failure. Query parameters are encoded in the connection URL including cluster ID (cid) and data type (type).