---
title: "Scoped Policies, Simplified Run and SQL Server Support - Cerbos v0.13 Release"
description: "The latest release of Cerbos adds a new major capability with scoped policies, a streamlined way to get started with the run command and support for SQL Server as a storage engine."
author: "Alex Olivier"
date: "2022-02-23T00:00:00.000Z"
canonical: "https://www.cerbos.dev/blog/scoped-policies-simplified-run-and-sql-server-support-cerbos-v013-release"
image: "https://stylish-appliance-1c1cc1c30d.media.strapiapp.com/cover_image_ecc85ea0d8.png"
tags: ["documentation"]
source: "https://www.cerbos.dev/blog/scoped-policies-simplified-run-and-sql-server-support-cerbos-v013-release"
---

# Scoped Policies, Simplified Run and SQL Server Support - Cerbos v0.13 Release

The latest release of Cerbos adds a new major capability with scoped policies, a streamlined way to get started with the `run` command and support for SQL Server as a storage engine.

## Scoped Policies

This release introduces the concept of [scoped policies](https://docs.cerbos.dev/cerbos/latest/policies/scoped%5Fpolicies.html) to address the common use case of modelling hierarchical relationships. The new `scope` field of resource and principal policies allows you to define a dot-separated string describing their position in the hierarchy.

![Scoped Policies](https://cerbos.dev/blog-images/hierarchy.png)

At runtime, based on the scope defined by the API request, the Cerbos engine moves upwards through the set of policies in the hierarchy until one of them produces a decision. With this feature you can define a base set of access policies that can then be overridden for particular departments, tenants or any other unit of access control that makes sense for your application.

You can find the full documentation [here](https://docs.cerbos.dev/cerbos/latest/policies/scoped%5Fpolicies.html).

## Streamlined Run Command

```bash
$ cerbos run -- ./your-app

```

Another new feature in this release is the introduction of the `cerbos run` command. This command can be used as a test runner or even as a quick way to try out Cerbos. It launches a Cerbos instance in the background (loading any policies found in the policies directory) and then runs the user-provided command.

Two environment variables named `CERBOS_HTTP` and `CERBOS_GRPC` are injected to the environment of the child process so that it can discover the Cerbos PDP. When the child process exits, the Cerbos instance is automatically shutdown as well.

For more information, see the [cerbos run documentation](https://docs.cerbos.dev/cerbos/latest/cli/cerbos.html#run).

## Microsoft SQL Server Support

![Microsoft SQL Server](https://cerbos.dev/blog-images/sql-server.jpg)

In addition to [MySQL](https://docs.cerbos.dev/cerbos/latest/configuration/storage.html#mysql), [Postgres](https://docs.cerbos.dev/cerbos/latest/configuration/storage.html#postgres) and [SQLite](https://docs.cerbos.dev/cerbos/latest/configuration/storage.html#sqlite3), this release also adds support for using [Microsoft SQL Server as a storage backend](https://docs.cerbos.dev/cerbos/latest/configuration/storage.html#sqlserver). These database backends enable use of the [Admin API](https://docs.cerbos.dev/cerbos/latest/api/admin%5Fapi.html) to manage policies dynamically from your application rather than using static policy files.

You can find the [full release notes here](https://docs.cerbos.dev/cerbos/latest/releases/v0.13.0.html) and if you have any questions join our [Slack community](https://community.cerbos.dev).
