[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71161":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":41,"discoverSource":42},71161,"opal","permitio\u002Fopal","permitio","Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)","https:\u002F\u002Fopal.ac",null,"Python",5460,284,28,51,0,2,4,6,38.36,"Apache License 2.0",false,"master",true,[26,27,28,29,30,5,31,32,33,34,35,36,37],"authorization","cedar","hacktoberfest","microservices","opa","open-policy-agent","openfga","policy","policy-as-code","pubsub","realtime","websocket","2026-06-12 02:02:48","\u003Cp  align=\"center\">\n \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal\u002Fassets\u002F4082578\u002F4e21f85f-30ab-43e2-92de-b82f78888c71\" height=170 alt=\"opal\" border=\"0\" \u002F>\n\u003C\u002Fp>\n\u003Ch1 align=\"center\">\n⚡OPAL⚡\n\u003C\u002Fh1>\n\n\u003Ch2 align=\"center\">\nOpen Policy Administration Layer\n\u003C\u002Fh2>\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal\u002Factions?query=workflow%3ATests\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal\u002Fworkflows\u002FTests\u002Fbadge.svg\" alt=\"Tests\">\n\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fopal-server\u002F\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fopal-server?color=%2331C654&label=OPAL%20Server%20%28PyPi%29\" alt=\"Package\">\n\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fopal-client\u002F\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fopal-client?color=%2331C654&label=OPAL%20Client%20%28PyPi%29\" alt=\"Package\">\n\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fpepy.tech\u002Fproject\u002Fopal-server\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fstatic.pepy.tech\u002Fpersonalized-badge\u002Fopal-client?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads\" alt=\"Downloads\">\n\u003C\u002Fa>\n\n\u003Ca href=\"https:\u002F\u002Fhub.docker.com\u002Fr\u002Fpermitio\u002Fopal-server\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Fpermitio\u002Fopal-client?label=Docker%20pulls\" alt=\"Docker pulls\">\n\u003C\u002Fa>\n\n\u003Ca href=\"https:\u002F\u002Fbit.ly\u002Fpermit-slack\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSlack%20Community-4A154B?logo=slack&logoColor=white\" alt=\"Join our Slack!\">\n\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fintent\u002Ffollow?original_referer=https%3A%2F%2Fpublish.twitter.com%2F%3FbuttonType%3DFollowButton%26query%3Dhttps%253A%252F%252Ftwitter.com%252Fpermit_io%26widget%3DButton&ref_src=twsrc%5Etfw&region=follow_link&screen_name=permit_io&tw_p=followbutton\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fpermit_io?label=Follow%20%40permit_io&style=social\">\n\u003C\u002Fa>\n\n## What is OPAL?\n\nOPAL is an administration layer for Policy Engines such as \u003Ca target=\"_blank\" href=\"https:\u002F\u002Fwww.openpolicyagent.org\u002F\">Open Policy Agent (OPA)\u003C\u002Fa>, and \u003Ca target=\"_blank\" href=\"https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fcedar-agent\">AWS' Cedar Agent\u003C\u002Fa> detecting changes to both policy and policy data in realtime and pushing live updates to your agents. OPAL brings open-policy up to the speed needed by live applications.\n\nAs your app's data state changes (whether it's via your APIs, DBs, git, S3 or 3rd-party SaaS services), OPAL will make sure your services are always in sync with the authorization data and policy they need (and only those they need).\n\nCheck out OPAL's main site at \u003Ca target=\"_blank\" href=\"https:\u002F\u002Fopal.ac\">OPAL.ac\u003C\u002Fa>\n\n## OPAL Use Cases\n\nOPAL is the easiest way to keep your solution's authorization layer up-to-date in realtime. It aggregates policy and data from across the field and integrates them seamlessly into the authorization layer, and is microservices and cloud-native.\n\nHere are some of the main use cases for using OPAL:\n* **End-to-End [Fine-Grained Authorization](https:\u002F\u002Fwww.permit.io\u002Fblog\u002Fwhat-is-fine-grained-authorization-fga) service** that can be used with any policy language or data store\n* [Google-Zanzibar](https:\u002F\u002Fwww.permit.io\u002Fblog\u002Fwhat-is-google-zanzibar) support for Policy as Code engines such as OPA and AWS Cedar\n* Streamline permissions in microservice architectures using [centralized policy configuration with decentralized data](https:\u002F\u002Fwww.permit.io\u002Fblog\u002Fbest-practices-for-implementing-hybrid-cloud-security) sources and policy engines\n* Manage and automate the deployment of multiple Open Policy Agent engines in a Cloud-Native environment\n\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal\u002Fassets\u002F4082578\u002F99d3dd95-a7ff-45c2-805e-3d533f8b1e8c\" alt=\"simplified\" border=\"0\">\n\nOPAL  uses a client-server stateless architecture. OPAL-Servers publish policy and data updates over a lightweight (websocket) PubSub Channel, which OPAL-clients subscribe to via topics. Upon updates, each client fetches data directly (from the source) to load it into its managed Policy Engine instance.\n\n\n### OPA + OPAL == 💜\n\nWhile OPA (Open Policy Agent) decouples policy from code in a highly-performant and elegant way, the challenge of keeping policy agents up-to-date remains.\nThis is especially true in applications, where each user interaction or API call may affect access-control decisions.\nOPAL runs in the background, supercharging policy agents and keeping them in sync with events in real time.\n\n### AWS Cedar + OPAL == 💪\n\nCedar is a very powerful policy language, which powers AWS' AVP (Amazon Verified Permissions) - but what if you want to enjoy the power of Cedar on another cloud, locally, or on premise?\nThis is where [Cedar-Agent](https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fcedar-agent) and OPAL come in.\n\nThis [video](https:\u002F\u002Fyoutu.be\u002FtG8jrdcc7Zo) briefly explains OPAL and how it works with OPA, and a deeper dive into it at [this OWASP DevSlop talk](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=1_Iz0tRQCH4).\n\n## Who's Using OPAL?\nOPAL is being used as the core engine of Permit.io Authorization Service and serves in production:\n* \\> 10,000 policy engines deployment\n* \\> 100,000 policy changes and data synchronizations every day\n* \\> 10,000,000 authorization checks every day\n\nBesides Permit, OPAL is being used in Production in **Tesla**, **Walmart**, **The NBA**, **Intel**, **Cisco**, **Live-Oak Bank**, and thousands of other development teams and companies of all sizes.\n\n## Documentation\n\n- 📃 &nbsp; [Full documentation is available here](https:\u002F\u002Fdocs.opal.ac)\n- 💡 &nbsp; [Intro to OPAL](https:\u002F\u002Fdocs.opal.ac\u002Fgetting-started\u002Fintro)\n- 🚀 &nbsp; Getting Started:\n\n  OPAL is available both as **python packages** with a built-in CLI as well as pre-built **docker images** ready-to-go.\n\n  - [Play with a live playground environment in docker-compose](https:\u002F\u002Fdocs.opal.ac\u002Fgetting-started\u002Fquickstart\u002Fopal-playground\u002Foverview)\n  \u003C!-- - this tutorial is great for learning about OPAL core features and see what OPAL can do for you. -->\n  - [Try the getting started guide for containers](https:\u002F\u002Fdocs.opal.ac\u002Fgetting-started\u002Frunning-opal\u002Foverview)\n  \u003C!-- - this tutorial will show you how to configure OPAL to your specific needs and run the official docker containers locally or in production. -->\n\n  - [Check out the Helm Chart for Kubernetes](https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal-helm-chart)\n\n- A video demo of OPAL is available [here](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=IkR6EGY3QfM)\n\n- You can also check out this webinar and Q&A about OPAL [on our YouTube channel](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=A5adHlkmdC0&t=1s)\n  \u003Cbr>\n\n- 💪 &nbsp; TL;DR - This one command will download and run a working configuration of OPAL server and OPAL client on your machine:\n\n```\ncurl -L https:\u002F\u002Fraw.githubusercontent.com\u002Fpermitio\u002Fopal\u002Fmaster\u002Fdocker\u002Fdocker-compose-example.yml \\\n> docker-compose.yml && docker compose up\n```\n\n\u003Cp>\n  \u003Ca href=\"https:\u002F\u002Fasciinema.org\u002Fa\u002F409288\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fasciinema.org\u002Fa\u002F409288.svg\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n- 🧠 &nbsp; \"How-To\"s\n\n  - [How to get started with OPAL (Packages and CLI)](https:\u002F\u002Fdocs.opal.ac\u002Fgetting-started\u002Frunning-opal\u002Fas-python-package\u002Foverview)\n\n  - [How to get started with OPAL (Container Images)](https:\u002F\u002Fdocs.opal.ac\u002Fgetting-started\u002Frunning-opal\u002Foverview)\n\n  - [How to trigger Data Updates via OPAL](https:\u002F\u002Fdocs.opal.ac\u002Ftutorials\u002Ftrigger_data_updates)\n\n  - [How to extend OPAL to fetch data from your sources with FetchProviders](https:\u002F\u002Fdocs.opal.ac\u002Ftutorials\u002Fwrite_your_own_fetch_provider)\n\n  - [How to configure OPAL (basic concepts)](https:\u002F\u002Fdocs.opal.ac\u002Ftutorials\u002Fconfigure_opal)\n\n  - [How to Use OPAL with Cedar in a Multi-Language Project](https:\u002F\u002Fwww.permit.io\u002Fblog\u002Fscaling-authorization-with-cedar-and-opal)\n\n- 🎨 &nbsp; [Key concepts and design](https:\u002F\u002Fdocs.opal.ac\u002Foverview\u002Fdesign)\n- 🏗️ &nbsp; [Architecture](https:\u002F\u002Fdocs.opal.ac\u002Foverview\u002Farchitecture)\n\u003Cbr>\n\n📖 For further reading, check out our [Blog](https:\u002F\u002Fio.permit.io\u002Fopal-readme-blog)\n\n## Community\n\n We would love to chat with you about OPAL. [Join our Slack community](https:\u002F\u002Fio.permit.io\u002Fopal-readme-slack) to chat about authorization, open-source, realtime communication, tech, or anything else!\n\nYou can raise questions and ask for features to be added to the road-map in our [**Github discussions**](https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal\u002Fdiscussions), report issues in [**Github issues**](https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fopal\u002Fissues)\n\u003C\u002Fbr>\n\u003C\u002Fbr>\nIf you like our project, please consider giving us a ⭐️\n\u003C\u002Fbr>\n\n[![Button][join-slack-link]][badge-slack-link] \u003C\u002Fbr> [![Button][follow-twitter-link]][badge-twitter-link]\n\n## Contributing to OPAL\n\nWe would love for you to contribute to this project and help make it even better than it is today! 💎\n\nAs a contributor, here are the guidelines we would like you to follow:\n - [Code of Conduct](CODE_OF_CONDUCT.md)\n - [Question or Problem?](CONTRIBUTING.md#question)\n - [Issues and Bugs](CONTRIBUTING.md#issue)\n - [Feature Requests](CONTRIBUTING.md#feature)\n - [Development Guidelines](CONTRIBUTING.md#development)\n\n[join-slack-link]: https:\u002F\u002Fi.ibb.co\u002FwzrGHQL\u002FGroup-749.png\n[badge-slack-link]: https:\u002F\u002Fio.permit.io\u002Fjoin_community\n[follow-twitter-link]: https:\u002F\u002Fi.ibb.co\u002Fk4x55Lr\u002FGroup-750.png\n[badge-twitter-link]: https:\u002F\u002Ftwitter.com\u002Fopal_ac\n\n## There's more!\n\n- Check out [OPToggles](https:\u002F\u002Fgithub.com\u002Fpermitio\u002FOPToggles), which enables you to create user targeted feature flags\u002Ftoggles based on Open Policy managed authorization rules!\n- Check out [Cedar-Agent](https:\u002F\u002Fgithub.com\u002Fpermitio\u002Fcedar-agent), the easiest way to deploy & run AWS Cedar.\n","OPAL是一个用于策略引擎如Open Policy Agent (OPA)和Cedar Agent的管理层，支持策略和数据的实时更新与分发。其核心功能包括实时检测策略及数据的变化，并将这些变更即时推送到关联的策略代理中，确保应用中的授权信息始终保持最新状态。该工具采用Python编写，具有良好的微服务架构适应性和云原生特性，适用于需要细粒度权限控制、且要求授权规则能够随业务数据动态调整的应用场景中。通过集成OPAL，开发者可以轻松实现跨多个来源的策略和数据聚合，从而为分布式系统提供高效、灵活的安全管理解决方案。","2026-06-11 03:36:22","high_star"]