News for hackers. Stuff that matters.
Re:Cedar is an open source policy language and evaluation en... by thayne on Monday May 15, 2023 @12:07PM (#35950490)
How does this compare to Open Policy Agent, or oso? Why would I use this instead?
Re:Cedar is an open source policy language and evaluation en... by sarahcec on Monday May 15, 2023 @12:23PM (#35950711)
The main benefits of Cedar are: *Verifiable/Analyzable *Deterministic Low Latencies *No Security Sandboxing Needed *Ergonomic (easily readable) *Enables parallel execution More here: https://www.youtube.com/watch?t=1798&v=k6pPcnLuOXY&feature=y...
Re:Cedar is an open source policy language and evaluation en... by alexeldeib on Monday May 15, 2023 @02:48PM (#35952806)
I love the dual implementation, I hadn’t heard of Dafny.

Can you speak to the point about latency? I wasn’t aware it made performance guarantees

Re:Cedar is an open source policy language and evaluation en... by abrahms on Monday May 15, 2023 @03:03PM (#35953041)
OPA allows you to make API calls from it. This doesn't. This makes the latency more deterministic.
Re:Cedar is an open source policy language and evaluation en... by alexeldeib on Monday May 15, 2023 @03:09PM (#35953116)
Ah, I didn’t realize that. I was thinking in the context of pure policy evaluation. I know rego/opa had a policy performance doc so was curious. Thanks :)
Re:Cedar is an open source policy language and evaluation en... by candiddevmike on Monday May 15, 2023 @12:30PM (#35950820)
If you're all in on AWS, use it, if not, use OPA. Lots of vendors support OPA/rego, I can't think of anything I use outside of AWS that supports Cedar.
Re:Cedar is an open source policy language and evaluation en... by mooreds on Monday May 15, 2023 @05:32PM (#35954761)
I think that is part of why they open sourced it, to try to get more folks to use it. :)
Re:Cedar is an open source policy language and evaluation en... by mritun on Monday May 15, 2023 @12:48PM (#35951065)
The challenge with authorization is that mistakes are catastrophic.

The foremost benefit of Cedar is that the implementation is formally proven. Which means that you are extremely unlikely to have to deal with unexpected behavior! Of course, the modeling needs to be reviewed manually for completeness, but the verifier can tell if the model is buggy or inconsistent.