Cerbos PDP v0.37.0 Release Highlights: REPL autocomplete, Kubernetes DaemonSet and more

Published by Alex Olivier on July 02, 2024
Cerbos PDP v0.37.0 Release Highlights: REPL autocomplete, Kubernetes DaemonSet and more

The v0.37 release of Cerbos PDP adds support for autocomplete when using the Cerbos REPL, new Kubernetes deployment options and updates to the AdminAPI.

We have been working closely with users of Cerbos such as Envoy, Blockchain.com, Utility Warehouse, 9fin, and Salesroom on this release. We can’t wait to hear more about what you would like to see in future releases - join our Slack community to join the conversation.

The Cerbos REPL now provides auto-completion for built-in commands and files to make it even easier to use as a development and debugging tool for Cerbos policies.

In addition to variables, the InspectPolicies Admin API response now also includes the derived roles that are referenced in each inspected policy. It also supports restricting the results to one or more policies using their IDs. This enables users to easily target a set of known policies and obtain information about them, which is a common requirement when building custom user interfaces on top of Cerbos.

Kubernetes users can now deploy Cerbos as a DaemonSet using the official Helm chart. Compared to the sidecar model, a DaemonSet deployment would use fewer resources on each node while still providing node-local network connectivity.

The cerbos compile command provides better context information about YAML syntax errors in policies and the cerbosctl inspect command can now produce output in machine-readable formats as well.

Based on user feedback, some Admin API restrictions — such as the limit on the number of policies that can be updated in a single AddOrUpdatePolicy request — have been relaxed in this release.

You can find the full release notes for v0.37 on docs.cerbos.dev and if you have any questions join our Slack community.

Book a free Policy Workshop to discuss your requirements and get your first policy written by the Cerbos team