Cerbos V0.36.0 Release Highlights: Technical Enhancements and Developer Features | Cerbos

Cerbos v0.36.0 Release Highlights: Technical Enhancements and Developer Features

Introduction

Cerbos v0.36.0 enhances the efficiency and functionality of policy-driven access controls. This version introduces asynchronous audit logging, refined Kafka backend handling, and new administrative commands, all designed to optimize performance and scalability.

Asynchronous Audit Logging

One of the key enhancements in v0.36.0 is the shift to asynchronous audit logging. This change is designed to reduce the overhead associated with writing large audit log entries, particularly when dealing with slow sinks (files and stdout, for example). This change is beneficial for PDPs handling large batch requests with high volumes of data, where response times could be affected by the additional load of logging activities. By moving logging to the background, Cerbos ensures that response times are not adversely affected.

Kafka Backend Improvements

A community contribution from @rcrowe has strengthened the Kafka backend in Cerbos. The system now defaults to using system CA certificates for TLS connections unless otherwise specified. The update also enhanced error handling that prevent blocking writes during downstream outages.

New Features: cerbosctl commands

Command-Line Usage:

$ cerbosctl inspect --policies

Command-Line Usage:

💡 Cerbos has renamed the bundle storage driver to maintain consistency across its feature set to hub. This change is backward compatible, but future versions will require an update to your configuration file from storage.driver: bundle to storage.driver: hub.

Documentation Update: Dagger Cerbos Module

The v0.36.0 release includes the addition of a Dagger Cerbos module. This module provides a compile function for compiling and testing Cerbos policy repositories and a server service for starting a Cerbos server, enhancing the development workflow.

To install the Dagger Cerbos module, run the following command:

$ dagger install github.com/cerbos/dagger-cerbos

You can find out more about this module on the Daggerverse page.

Further Reading and Resources: