A bumper release notes post with v0.27 and v0.28 being rolled out in the last two weeks which adds support for user-defined outputs from policies, storage overlay support for fallback scenarios also Kafka and tests suites updates.
We have been working closely with users of Cerbos such as Blockchain.com, Utility Warehouse, 9fin, Salesroom, and Doorfeed on this release and can’t wait to hear more about what you would like to see in future releases - join our Slack community to join the conversation.
Cerbos now supports returning user-defined output values from policy evaluation. Policy authors define an optional expression to evaluate if a rule is activated and Cerbos collects and returns the set of outputs as part of the API response. This enables developers to take specific actions in their applications based on the outcome of an authorization check.
See the outputs documentation for more information.
v0.28 added in support to write policy tests to verify that your policies produce the correct output values. Checking for output values in tests is optional but, if you do define any output expectations, the tests will fail if the produced output does not match the expectations. See Validating and testing policies for information on testing.
The new overlay storage is a special driver that allows you to configure any two Cerbos storage drivers as base and fallback stores. If the base store becomes unavailable for some reason, Cerbos automatically switches to the fallback store until the base becomes available again. See the overlay documentation for more information.
Book a free Policy Workshop to discuss your requirements and get your first policy written by the Cerbos team
Join thousands of developers | Features and updates | 1x per month | No spam, just goodies.