# cedar-policy/cedar

Implementation of the Cedar Policy Language

Repository: https://github.com/cedar-policy/cedar
Canonical: https://ross.abutalabs.com/products/cedar
Homepage: https://www.cedarpolicy.com
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T17:41:19+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 87
- inputs: {"age_days": 1226, "days_push": 7, "days_rel": 36, "gap_med": 0.5, "n_releases_24m": 55}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1693, forks 170 (observed 2026-08-28T04:05:23.384975+00:00)

## What it is
Cedar is a purpose-built policy language and Rust implementation for writing and enforcing fine-grained authorization policies in applications. It includes an authorization engine, schema validator, symbolic compiler for policy verification, CLI, language server, and WASM bindings.

## Use cases
- enforce fine-grained permissions in my application
- implement RBAC or ABAC authorization
- validate authorization policies against a schema
- verify my security policies are correct with automated reasoning
- evaluate access requests with low bounded latency
- embed an authorization engine in a Rust service

## When to choose
- you need policies decoupled from application code that can be independently audited
- you want fast, scalable real-time authorization with bounded latency
- you need formal verification or analysis of your authorization model
- you want a battle-tested policy engine backed by AWS with Rust, CLI, and WASM interfaces

## When to avoid
- you only need simple role checks that a few database flags can handle
- your stack cannot integrate with Rust or WASM and you need a pure managed service
- you need a general-purpose rules engine beyond authorization

## Facets
- artifact type: library
- maturity: stable
- function: authorization, security, parser, interpreter, cli, wasm
- domain: security, developer-tools, apis, backend
- platform: rust, wasm, cli, cross-platform
- tags: policy-language, rbac, abac, policy-engine, formal-verification, language-server

## Member repositories
- cedar-policy/cedar (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:23.384975+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:11.142319+00:00, confidence not recorded.
  - readme: https://github.com/cedar-policy/cedar (fetched 2026-08-28T04:05:23.384975+00:00, sha dd3a4842aec7)
  - homepage: https://www.cedarpolicy.com (fetched 2026-08-29T11:13:04.791781+00:00, sha d1d50d4a4c02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
