OpenZiti router → load balancer/WAF → web application
The load balancer, WAF, and application typically record the Ziti router’s IP address rather than the identity or original endpoint associated with the OpenZiti session.
Is there a recommended way to correlate an OpenZiti connection with the corresponding request observed by the load balancer, WAF, or application?
For example, is there a connection or session identifier that can be:
obtained from OpenZiti router or controller logs;
propagated to the upstream HTTP request, such as through a trusted header; or
correlated using timestamps, source ports, terminator information, or other connection metadata?
The goal is to allow security monitoring systems to determine which OpenZiti identity initiated a request that was subsequently logged by the WAF or application.
The clientId field in tags should be the identityId. As long as you're coming in on an edge enabled path (Edge SDK or edge router/tunneler), that should be populated corrected. It's not called identityid because there's also hostId which is also an identity id, just the hosting identity.