Cerbos v0.0.2
Highlights
- Admin API preview
-
The new Admin API allows the Cerbos PDP to receive dynamic policy updates via the API when the underlying storage engine supports mutability. (Currently only the
sqlite3
driver supports mutability.). The Admin API has to be enabled explicitly from the configuration file and requires HTTP Basic authentication to access it. Other authentication methods will be supported in the future. - SQLite3 storage engine
-
This release adds experimental support for SQLite3 as a storage engine. This work lays the foundation for supporting other dynamic data sources as policy repositories.
- Configuration override flags
-
All Cerbos configuration values can now be overridden using command line flags. This enables quick experimentation without requiring changes to the config file. For example, the new Admin API and the
sqlite3
driver can be tried out by running the following:docker run -i -t pkg.cerbos.dev/containers/cerbos:0.0.2 server --config=/conf.default.yaml \ --set=server.adminAPI.enabled=true \ --set=storage.driver=sqlite3 \ --set=storage.sqlite3.dsn=':memory:'