fix(e2e): add uv-managed python binary glob to forward proxy L7 test#686
Merged
johntmyers merged 1 commit intomainfrom Mar 30, 2026
Merged
fix(e2e): add uv-managed python binary glob to forward proxy L7 test#686johntmyers merged 1 commit intomainfrom
johntmyers merged 1 commit intomainfrom
Conversation
The base sandbox image installs Python via uv at /sandbox/.uv/python/*/bin/python*, but the proxy resolves binary identity via /proc/PID/exe (the real path, not the symlink). The test policy only listed /usr/bin/python* and /usr/local/bin/python*, so OPA denied the connection at L4 before L7 evaluation could run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
forward_proxy_allows_l7_permitted_requeste2e test failure introduced by fix(proxy): add L7 inspection to forward proxy path #666/sandbox/.uv/python/*/bin/python*, but the proxy resolves binary identity via/proc/PID/exe(the real path, not the symlink at/usr/local/bin/python3)/usr/bin/python*and/usr/local/bin/python*, so OPA denied at L4 before L7 evaluation could runRelated Issue
Fixes e2e failure from #666
Changes
/sandbox/.uv/python/*/bin/python*to the binary allowlist in the forward proxy L7 bypass test policyTesting
forward_proxy_allows_l7_permitted_requestandforward_proxy_denies_l7_blocked_requestpass