cedar
cedar copied to clipboard
A Go binding for Amazon Cedar Policy using wasm to embed the Cedar engine with near zero overhead.
@Joffref, amazing work! Really love what you've done here! This library is both useful and a great reference for learning. I'd love to be able to validate Cedar policies programmatically...
- Updated Rust code - Added test to Go code This is really meant as suggestions and still has a major issue of running into "unexpected end of input" when...
https://github.com/Joffref/cedar/blob/7ec84fa85f69094d9df2048dc95cff06ad625f58/lib/src/interface.rs#L63 The only way I got partial evaluation to work was to use Request::RequestBuilder since you might be missing the principal, action, or resource. I don't mind sharing my code,...
# Description In Cedar language, you can create templates (with placeholders) for your policies. That will be filled with provided entities. For more information see: https://www.cedarpolicy.com/en/tutorial/policy-templates
## Expected Behavior Logging inside WASM module should be exposed to the user instead of panicking. ## Actual Behavior When an error occurs, the WASM module panic and exposes an...