Skip to content

Executing .wasm policies using OPA server #293

Answered by srenatus
dushyant7917 asked this question in Wasm
Discussion options

You must be logged in to vote

If you use the default images (non-static), then opa run is able to work with the bundles built using opa build -t wasm -e some/entrypoint .... Those bundles contain a policy.wasm; and there's an SDK in OPA that'll use wasmtime to evaluate them. It should be fairly transparent, but the wasm modules always stay inside bundles. OPA does not accept plain .wasm files.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@dushyant7917
Comment options

@srenatus
Comment options

@dushyant7917
Comment options

@dushyant7917
Comment options

@srenatus
Comment options

Answer selected by dushyant7917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Wasm
Labels
None yet
2 participants