Skip to content

Reconcile deny-event fields between extproc and proxy listeners #936

Closed

Description

@evaline-ju

Each listener records different fields on an OnRequest deny:

  • extproc.recordInboundReject sets Plugins, Identity, Duration.
  • reverseproxy.recordInboundReject sets none of those; sets TLS instead (which extproc omits).
  • Same split outbound (extproc vs. forwardproxy).

ref: #935 (review)

Operators reading /v1/sessions see a different event shape depending on which listener served the request.

Fix

Delegate both recordInboundReject implementations to a single helper that populates the same fields from pctx. Then expand the parity suite's observation to cover Identity (fixture provisioning an identity catches further drift).

Found by the parity suite in #935; not caught by the current fixtures because Identity/TLS/Duration are excluded from observation and Plugins is empty on the deny fixture.

Activity

  1. added a commit that references this issue on Oct 7, 2026
    e629c80
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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions