Skip to content
@treetop-policy-engine

Treetop Policy Engine

Open-source Cedar authorization engine, server, clients, CLI, and browser workbench.

Treetop

Treetop Policy Engine

Treetop is an open-source authorization stack built on Cedar. It provides tools for building, validating, serving, and operating policy-based authorization.

Run Treetop as a REST service, integrate through an official client, compose deterministic policy bundles, or inspect the service from the command line and browser workbench. The Rust engine can also be embedded for specialized use cases.

Projects

These repositories are all maintained parts of Treetop, covering the runtime, policy delivery, client integrations, and operator tooling.

Project Purpose Distribution
treetop-rest REST API and standalone server server archives · container
treetop-client Typed asynchronous Rust client crate · docs
treetop-client-python Typed synchronous and asynchronous Python client PyPI
treetop-cli Command-line client and interactive REPL native archives and checksums
treetop-frontend Browser workbench for policies, requests, and metrics static archive and checksum · container
treetop-bundle Deterministic, optionally signed Cedar policy bundles crate · docs · CLI archives
treetop-bundle-action Policy validation and bundle builds in GitHub Actions @v1 Action · releases
treetop-core Rust engine underlying Treetop REST, also available for in-process deployments crate · docs

Release artifacts

Artifact Published formats
Treetop server Linux x86-64 and ARM64 musl archives; container image
Treetop CLI Linux x86-64 and ARM64 musl, Apple-silicon macOS, and Windows x86-64 archives with SHA-256 checksums
Bundle CLI Linux x86-64 and ARM64 musl, Apple-silicon macOS, and Windows x86-64 archives with SHA256SUMS
Workbench Versioned static-site archive with a SHA-256 checksum; Linux AMD64 and ARM64 container image
Libraries and clients Rust crates on crates.io and the Python client on PyPI
Bundle Action Versioned GitHub Action, available through the moving v1 major tag

Quick start

Run the server:

docker run --rm --publish 9999:9999 \
  --env TREETOP_LISTEN=0.0.0.0 \
  ghcr.io/treetop-policy-engine/treetop-rest:latest

Then check process liveness:

curl http://127.0.0.1:9999/livez

Validate a policy bundle in GitHub Actions:

- uses: treetop-policy-engine/treetop-bundle-action@v1
  with:
    manifest: treetop-bundle.toml
    deny-warnings: true

Project-specific documentation, examples, compatibility information, and release notes live in each repository.

Pinned Loading

  1. treetop-core treetop-core Public

    Embeddable Cedar policy engine for Rust

    Rust 1

  2. treetop-cli treetop-cli Public

    Command-line client and interactive REPL for Treetop authorization servers

    Rust

  3. treetop-client treetop-client Public

    Typed asynchronous Rust client for Treetop authorization servers

    Rust

  4. treetop-client-python treetop-client-python Public

    Typed synchronous and asynchronous Python client for Treetop

    Python

  5. treetop-frontend treetop-frontend Public

    Browser workbench for Treetop policies, authorization requests, and metrics

    TypeScript

  6. treetop-rest treetop-rest Public

    REST API and standalone server for the Treetop policy engine

    Rust

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…