Skip to content

fix(authz): INBOUND filters bring their own chain entry into the union - #477

Merged
bpalermo merged 1 commit into
mainfrom
fix/rbac-inbound-chain-entry
Jul 5, 2026
Merged

bpalermo merged 1 commit into
mainfrom
fix/rbac-inbound-chain-entry

Conversation

@bpalermo

@bpalermo bpalermo commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Caught live by the RBAC M2 e2e: INBOUND rbac ENFORCE silently inert — the inbound vhost carried the TPFC but the chain had no rbac entry (serviceInboundFilters never joined the union; rbac has no system entry unlike ext_authz's sidecar entry). TPFC→absent-filter rejects the listener; old config kept serving. Fix: the union includes INBOUND filters' default-disabled entries. Regression test verified failing pre-fix.

…nsion union

The RBAC M2 talos e2e caught it live: an INBOUND rbac ENFORCE silently never took
effect (rogue stayed 200). The inbound route vhost carried the RBACPerRoute TPFC,
but the inbound HCM chain had NO rbac entry — serviceInboundFilters was never
part of the extension union, and rbac (unlike ext_authz) brings no system entry.
A TPFC referencing an absent chain filter rejects the listener; the old listener
kept serving. ext_authz INBOUND masked the gap because the authz-sidecar entry is
added unconditionally.

Fix: extensionHTTPFilters unions serviceInboundFilters (their default-disabled
entries) alongside route + chain filters. Regression test asserts the httpFilters
array carries the entry (the previous heuristic was fooled by the TPFC key
appearing per chain) — verified failing pre-fix, passing post-fix.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant