Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate integration w/ envoy-wasm filters #651

Open
tsandall opened this issue Mar 8, 2021 · 5 comments
Open

Investigate integration w/ envoy-wasm filters #651

tsandall opened this issue Mar 8, 2021 · 5 comments
Assignees

Comments

@tsandall
Copy link
Member

tsandall commented Mar 8, 2021

With OPA and Envoy support for Wasm reaching maturity, it's time we try to integrate them! We should aim to create a minimal example that shows how to compile HTTP API authorization policies into Wasm and have them enforced in Envoy.

@srenatus
Copy link
Collaborator

ℹ️ This is an interesting capability: https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/proxywasm/hostcall.go#L263-L278 wasm instances can share data using a KV host api.

@srenatus
Copy link
Collaborator

srenatus commented May 5, 2021

WebAssembly/binaryen#2767 👈 This would allow for a pretty clean separation: we'd use the proxy-wasm-cpp-sdk (or even the rust one) to compile a shim that uses opa's wasm's exported functions, and use a tool like that to link wasm modules together.

@tsandall
Copy link
Member Author

tsandall commented Jul 8, 2021

Moving this back to TODO because it's lower priority than other issues/features. One thing we know we need is better linking support for wasm modules (e.g., dynamically inside Envoy or statically within OPA or opa-envoy...)

@guyromb
Copy link

guyromb commented Dec 13, 2021

I would go for OPA if this was supported! @tsandall

@stale
Copy link

stale bot commented Jan 12, 2022

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days.

@anderseknert anderseknert transferred this issue from open-policy-agent/opa Jan 20, 2025
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

No branches or pull requests

3 participants