awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
open-policy-agent avatar

open-policy-agent/opa

0
View on GitHub↗
11,860 stars·1,592 forks·Go·Apache-2.0·14 viewswww.openpolicyagent.org↗

Opa

This project is a unified, cloud-native policy engine designed to decouple authorization and security logic from application codebases. It functions as a centralized authorization service that evaluates structured input data against declarative rules, enabling consistent policy enforcement across microservices, infrastructure, and continuous integration pipelines.

The engine utilizes a specialized logic programming language to express complex constraints, which are compiled into an optimized intermediate representation for high-performance evaluation. By supporting both sidecar-based deployment and direct library embedding, it allows for local, low-latency policy checks. The system further distinguishes itself through bundle-based distribution, which synchronizes versioned policy sets across distributed instances to maintain a consistent authorization state at scale.

Beyond core evaluation, the platform provides a comprehensive suite of tools for the entire policy lifecycle, including development assistance, linting, testing, and partial evaluation for portable logic execution. It also features robust observability capabilities, such as query execution tracing, performance metrics reporting, and request provenance verification, to ensure transparency and auditability in decision-making.

The engine exposes a programmable HTTP interface for real-time authorization queries and supports dynamic data injection to facilitate context-aware decision-making.

Features

  • Declarative Access Control - Centralizes access control logic across applications and infrastructure to ensure consistent security decisions.
  • Authorization Services - Acts as a centralized authorization service that evaluates structured input data to make consistent access control decisions.
  • Policy-As-Code Engines - Provides a declarative language and framework for defining, testing, and versioning security and operational policies as code.
  • Policy Engines - Enforces security and operational standards across infrastructure, microservices, and CI/CD pipelines in cloud-native environments.
  • Infrastructure Policy Enforcement - Automates compliance checks for cloud resources and configuration files to prevent security vulnerabilities.
  • Microservices Security - Intercepts and validates network requests at the service level to enforce fine-grained access control.
  • Policy Propagation Systems - Synchronizes policy sets and configuration data across multiple instances to maintain a consistent authorization state.
  • Policy Enforcement Engines - Automates code analysis within CI/CD pipelines to verify compliance with security and operational standards.
  • Logical Condition Evaluators - Processes structured input data against high-level rules to generate consistent authorization decisions.
  • Policy Distribution Systems - Synchronizes sets of versioned policy modules and configuration data across distributed instances to ensure consistent enforcement at scale.
  • Sidecar Proxies - Deploys alongside application services to intercept network traffic and perform local authorization checks.
  • Security Policy Enforcers - Provides language-specific tools and network interfaces to embed policy enforcement logic directly into diverse software stacks.
  • Dynamic Policy Evaluators - Exposes a programmable HTTP interface for real-time authorization queries and validation of actions.
  • Infrastructure and Orchestration - Unified policy enforcement for cloud-native environments.
  • Microservices - Policy engine for microservices.
  • Policy as Code - General-purpose engine for unified policy enforcement.
  • Access Control Frameworks - General-purpose decision engine for policy enforcement.
  • Policy Engines - General-purpose policy engine with Wasm support.
  • Security and Compliance - Policy-based control for cloud-native services.
  • Expression Languages - Uses a specialized logic programming language to express complex authorization rules as declarative constraints.
  • API Query Interfaces - Exposes programmatic API endpoints for external services to query authorization decisions and validate actions in real-time.
  • Dynamic Policy Refreshers - Allows for the dynamic creation, update, and removal of policy files without requiring service restarts.
  • Network and Infrastructure Security - Hooks into proxies and infrastructure tools to evaluate configuration and traffic against defined security and compliance rules automatically.
  • Policy Validators - Provides testing and debugging tools for declarative policy code to ensure rules behave as expected.
  • Execution Tracing - Generates detailed step-by-step explanations of policy evaluation to assist developers in debugging logic and understanding decision paths.
  • Document Stores - Provides capabilities to retrieve, create, and modify structured data documents to support complex policy evaluation.
  • In-Memory Databases - Maintains structured input and policy data in memory to enable high-performance lookups and rapid evaluation.
  • Intelligent Development Assistants - Provides real-time feedback, code completion, and navigation features through a language server.
  • Contextual Data Injection - Supports injecting and updating contextual information at runtime to enable dynamic, data-driven authorization decisions.
  • Metric and Performance Monitors - Collects and reports granular timing and cache statistics to identify bottlenecks and optimize policy evaluation performance.

Star history

Star history chart for open-policy-agent/opaStar history chart for open-policy-agent/opa

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does open-policy-agent/opa do?

This project is a unified, cloud-native policy engine designed to decouple authorization and security logic from application codebases. It functions as a centralized authorization service that evaluates structured input data against declarative rules, enabling consistent policy enforcement across microservices, infrastructure, and continuous integration pipelines.

What are the main features of open-policy-agent/opa?

The main features of open-policy-agent/opa are: Declarative Access Control, Authorization Services, Policy-As-Code Engines, Policy Engines, Infrastructure Policy Enforcement, Microservices Security, Policy Propagation Systems, Policy Enforcement Engines.

What are some open-source alternatives to open-policy-agent/opa?

Open-source alternatives to open-policy-agent/opa include: cerbos/cerbos — Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing… casbin/casbin — Casbin is an authorization library that provides a model-based engine for enforcing access control across diverse… kyverno/kyverno — Kyverno is a Kubernetes policy engine and cloud native governance tool. It functions as a policy-as-code framework… armosec/kubescape — Kubescape is a security platform for Kubernetes that provides tools for scanning clusters, configurations, and… datreeio/datree — Datree is a policy enforcement framework for Kubernetes that validates configurations against rules written in Rego,… hashicorp/terraform — Terraform is a declarative infrastructure-as-code tool designed to manage the lifecycle of cloud and on-premises…

Open-source alternatives to Opa

Similar open-source projects, ranked by how many features they share with Opa.
  • cerbos/cerboscerbos avatar

    cerbos/cerbos

    4,460View on GitHub↗

    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 sec

    Goaccess-controlauthorizationgo
    View on GitHub↗4,460
  • casbin/casbincasbin avatar

    casbin/casbin

    19,848View on GitHub↗

    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

    Goabacaccess-controlacl
    View on GitHub↗19,848
  • kyverno/kyvernokyverno avatar

    kyverno/kyverno

    7,841View on GitHub↗

    Kyverno is a Kubernetes policy engine and cloud native governance tool. It functions as a policy-as-code framework that validates, mutates, and generates resources to enforce security and governance standards within a cluster. The project distinguishes itself through a declarative policy model that utilizes native Kubernetes custom resource definitions, allowing policies to be managed as standard cluster objects without custom code. It provides specific security capabilities for container image verification and signature validation to ensure only trusted images are deployed. Its broader capa

    Go
    View on GitHub↗7,841
  • armosec/kubescapearmosec avatar

    armosec/kubescape

    11,482View on GitHub↗

    Kubescape is a security platform for Kubernetes that provides tools for scanning clusters, configurations, and container images against industry compliance and security benchmarks. It functions as a suite of security utilities, including a compliance auditor, a misconfiguration scanner, and a container vulnerability scanner. The project differentiates itself through automated remediation and active enforcement. It can automatically patch operating system vulnerabilities in images and fix security errors within manifest files. It also utilizes an admission controller to block the deployment of

    Go
    View on GitHub↗11,482
See all 30 alternatives to Opa→