Scratching an Itch: Running Policy in Hard to Reach Places with Wasm & OPA


Link (PDF)





Abstract #

It’s 2023 and we’re at the point where we can run Wasm almost anywhere. Crucially, Wasm can be run in some places where others can’t follow. This makes Wasm an important tool if we want to standardize logic. We want to standardize the enforcement of business rules across the stack - from servers to smart phones. What if we could use the same language everywhere, new logic could be pushed out from a central location and we could deliver feedback to users immediately? We can achieve this using Wasm and Rego - the policy language of The Open Policy Agent project. Wasm is at home in many different environments, in this demo, we will show a proof of concept where we compile business rules in Rego into Wasm modules suitable for distribution to every policy decision point in our stack.

Further Reading #

OPA Issues #

GitHub issues on the OPA project related to progressing Wasm support in OPA:

Using OPA? #

Please add your company to the! Built an open source project on OPA? Consider listing it in the OPA Ecosytem by following these docs.

Photos #

photo of presentation

photo of presentation

Other Slides #


2023-04-18 Cloud Native Wasm Day @ KubeCon EU 2023

2023-04-18 - Amsterdam, Netherlands
Links: Event Page Video

2023-09-05 Civo Navigate - Europe 2023

2023-09-05 - London, UK
Links: Event Page

2023-09-06 Cloud Native London - September

2023-09-06 - London, UK
Links: Event Page

QR Code QR Code for Scratching an Itch: Running Policy in Hard to Reach Places with Wasm & OPA