Verify Processor
Supported Telemetry
Overview
The verify processor verifies cryptographic integrity attributes thatsigningprocessor adds to log records.
For each log record it rebuilds the same RFC 8785 (JCS) canonical JSON payload
that signingprocessor signed (excluding all audit.integrity.* attributes),
then checks the record attribute audit.integrity.value against the algorithm
and key material described by the resource attributes
audit.integrity.algorithm and (for asymmetric algorithms)
audit.integrity.certificate. Supported algorithms match
signingprocessor: RS256, RS512, ES256, EdDSA, and HMAC-SHA256.
Failed records can optionally be marked or dropped, and verification failures
can be written to a dead-letter storage extension.
Configuration
For complete examples of all supported configurations see testdata/config.yaml. For invalid configuration examples used in tests see testdata/config_invalid.yaml.Key source providers
Same provider set assigningprocessor, but every
provider uses the shared YAML keys certificate or hmac_key (private-key
fields are omitted). For now each provider config should supply a single
material — either a certificate or an HMAC secret.
Note on theenvkey source: Thecertificateandhmac_keyfields hold the actual PEM text or HMAC secret, not environment variable names. The collector’s confmap layer expands${env:VAR_NAME}before the processor starts. See confmap environment variable substitution.
OpenBao key_source (API v2)
Same shape as signingprocessor: OpenBao api/v2 client
and KV version 2.
Equivalent logical read: mount
secret + path verify → HTTP
.../v1/secret/data/verify. Do not put secret/data/... in secret_path.
Integrity attributes (from signingprocessor)
Verification consumes the attributes that signingprocessor emits. Layout and
semantics match that processor exactly.
Per log record
Per Resource (set once per ResourceLogs block)
Signed payload (must match signingprocessor)
Verification recomputes the same payload that signingprocessor signed. That
processor serialises the following log-record fields into a JSON object,
canonicalises it with RFC 8785 (JCS), and signs the result. All
audit.integrity.* attributes are excluded so the signature can be verified
without removing those attributes first.
Attribute scalar encoding
Attribute values are encoded as follows to keep every scalar type distinct in the signed payload. Each scalar is wrapped in a type-tagged single-key object (e.g.{"intValue":"123"}) so that values of different types never produce
identical canonical JSON.
Serialization fails with a hard error if the total pre-JCS JSON size exceeds
2 MiB or the attribute nesting depth exceeds 128 levels.
Output attributes
The concrete verification implementation (follow-up PR) stamps per-record outcome attributes such as verification status and machine-readable reason codes after checking the integrity attributes above.Example pipeline
signingprocessor usually runs in a separate collector
(sign at the source/sidecar, verify at the sink). Configure this processor with
the public certificate or HMAC secret that matches the upstream signer.
Configuration
Example Configuration
Last generated: 2026-11-02