Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing access control. It functions as a policy-as-code platform, allowing teams to define, test, and distribute authorization rules using declarative YAML or JSON configurations. By decoupling access logic from application code, it enables consistent permission enforcement across diverse service stacks.
The project distinguishes itself through its ability to translate high-level authorization policies into native database query filters. This capability allows applications to enforce security directly at the data storage layer, ensuring that users only retrieve records they are permitted to access. Additionally, it supports hierarchical scope resolution, which simplifies the management of complex, multi-tenant environments by allowing policies to be organized into nested namespaces with inherited or overriding rules.
The platform covers the entire lifecycle of authorization, including identity verification, policy distribution, and observability. It integrates with version control systems to enable GitOps-based workflows, ensuring that policy updates are automated, auditable, and synchronized across distributed decision points. To minimize latency, the service can be deployed as a sidecar alongside application instances, while schema-driven validation ensures that principal and resource data remain consistent during policy evaluation.
The service exposes its decision-making capabilities through standardized gRPC and REST endpoints, facilitating integration with existing infrastructure. It includes comprehensive tooling for policy testing, validation, and audit logging, providing visibility into access decisions and system performance.
Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing access control. It functions as a policy-as-code platform, allowing teams to define, test, and distribute authorization rules using declarative YAML or JSON configurations. By decoupling access logic from application code, it enables consistent permission enforcement across diverse service stacks.
cerbos/cerbos 的主要功能包括:Authorization Policies, Policy as Code, Authorized Record Filtering, Authorization Filter Generation, Database Query Filter Generators, Authorization to SQL Translators, 查询过滤生成器, Git-Based Policy Synchronization。
cerbos/cerbos 的开源替代品包括: casbin/casbin — Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse… prefecthq/fastmcp — FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models… ryanb/cancan — CanCan is an authorization library for Ruby on Rails applications that provides a declarative framework for defining… hsluoyz/casbin — Casbin is an authorization library designed to manage application access control and permissions through a… palkan/action_policy — Action Policy is a Ruby authorization framework designed to manage user access and permissions by encapsulating… linkerd/linkerd2 — This project is a service mesh platform designed to manage, secure, and observe service-to-service communication…
Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse application environments. It decouples authorization logic from application code by using a configuration-driven approach, allowing developers to define access rules and evaluation logic independently. The system supports a wide range of access control models, including role-based, attribute-based, and relationship-based patterns, which are evaluated at runtime to determine if a subject is permitted to perform an action on a resource. The project distinguishes itself through a hig
FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models using the Model Context Protocol. It simplifies the development process by automatically deriving tool metadata, input schemas, and documentation directly from Python function signatures and type hints. The framework provides a unified container for managing these components, allowing developers to build modular applications that integrate seamlessly with AI assistants. The project distinguishes itself through its support for interactive, server-defined user interface compone
CanCan is an authorization library for Ruby on Rails applications that provides a declarative framework for defining user permissions. It functions as a role-based access control system that decouples security logic from controllers by centralizing all ability definitions in a single location. The library distinguishes itself by translating permission rules into database-driven filters. This allows the system to retrieve only the specific records a user is permitted to see based on attribute conditions and defined scopes, rather than verifying permissions after data has been loaded. The fram
Casbin is an authorization library designed to manage application access control and permissions through a configurable model-based engine. It serves as a centralized system for verifying whether a user has permission to perform specific actions on a resource. The engine supports multiple access control models, including Role-Based Access Control, Attribute-Based Access Control, and Access Control Lists. It allows for the definition of role hierarchies and the evaluation of user, resource, and environment attributes to make access decisions. The library decouples authorization logic from dat