Skip to content

access logs carry no verified peer identity, so 'which client identity did the destination see' cannot be answered #824

Closed

Description

@bpalermo

Found validating #815 release two (rev225, 2026-09-19).

Release two changed how an outbound connection's client certificate is selected. The authoritative check — on the DESTINATION side, which verified identity did each request arrive with — could not be run: the OTLP access-log format (agent/internal/xds/proxy/accesslog.go) has no peer-identity field. There is no %DOWNSTREAM_PEER_URI_SAN%, no XFCC, and source_netns is source-side only (destination lines carry -). The validation fell back to the OPA decision log's metadataContext.filterMetadata["aether.source"].spiffeId, which is what the SOURCE proxy claims, not what the destination verified, plus the match_count no-match counter.

Proposal: add the verified peer URI SAN to inbound (destination-reporter) access-log entries — %DOWNSTREAM_PEER_URI_SAN% — and, symmetrically, %UPSTREAM_PEER_URI_SAN% / the presented local cert's URI SAN on the source side. Cardinality is per ServiceAccount, the same as the identities already in aether_stats. It turns "did any workload's traffic arrive as the node agent's identity" into one LogsQL query, which is the failure signature for #815's matcher and for #638/#686.

Activity

  1. added a commit that references this issue on Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions