{"id":23773906,"url":"https://github.com/styrainc/enterprise-opa","last_synced_at":"2025-09-05T18:31:36.346Z","repository":{"id":65878958,"uuid":"595525791","full_name":"StyraInc/enterprise-opa","owner":"StyraInc","description":"Enterprise OPA is a distribution of Open Policy Agent with enterprise-grade features to get OPA into production quickly, easily, and inexpensively.","archived":false,"fork":false,"pushed_at":"2024-04-09T18:01:38.000Z","size":1548,"stargazers_count":26,"open_issues_count":0,"forks_count":4,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-04-13T22:19:37.956Z","etag":null,"topics":["authorization","opa","open-policy-agent","performance","policy","styra"],"latest_commit_sha":null,"homepage":"https://docs.styra.com/enterprise-opa","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StyraInc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-01-31T09:06:14.000Z","updated_at":"2024-04-16T20:44:16.436Z","dependencies_parsed_at":"2024-01-05T05:30:10.710Z","dependency_job_id":"8f5e8abe-7fb5-4334-8e32-9e03730fd1c0","html_url":"https://github.com/StyraInc/enterprise-opa","commit_stats":null,"previous_names":["styrainc/enterprise-opa","styrainc/load"],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Fenterprise-opa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Fenterprise-opa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Fenterprise-opa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Fenterprise-opa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StyraInc","download_url":"https://codeload.github.com/StyraInc/enterprise-opa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232052248,"owners_count":18465724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authorization","opa","open-policy-agent","performance","policy","styra"],"created_at":"2025-01-01T05:46:47.698Z","updated_at":"2025-09-05T18:31:36.329Z","avatar_url":"https://github.com/StyraInc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![OPA v1.6.0](https://openpolicyagent.org/badge/v1.6.0) [![Regal v0.35.1](https://img.shields.io/github/v/release/styrainc/regal?filter=v0.35.1\u0026label=Regal)](https://github.com/StyraInc/regal/releases/tag/v0.35.1)\n\n\n# Styra Enterprise OPA\n\n![Styra](./content/img/logo.png)\n\nBuilt by the creators and maintainers of [Open Policy Agent](https://www.openpolicyagent.org/) (OPA), Styra Enterprise OPA is the only enterprise-grade authorization engine built to provide resource-efficient performance for data-heavy workloads while connecting natively to your existing data sources.\n\nStyra Enterprise OPA is designed to offer:\n\n- Reduced costs of data-heavy authorization: Styra Enterprise OPA allows you to reduce OPA’s memory overhead by 10x and gain the ability to get 40% more CPU throughput at the policy decision point.\n- Increase integration speed: By offering the ability to natively connect to existing data sources without custom code, Styra Enterprise OPA allows teams to reduce development costs and get into production quickly.\n- Minimize risk with powerful analysis: Extending the industry’s only impact analysis tool, Styra Enterprise OPA allows policy validation early and throughout the policy lifecycle, shrinking deployment failure, and costly issues before enforcement.\n\n## 👋 Hello World!\n\n![Hello World](./content/img/helloworld.gif)\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cstrong\u003eTry it out!\u003c/strong\u003e\u003c/summary\u003e\n\n1. `brew install styrainc/packages/eopa`\n2. `export EOPA_LICENSE_KEY=\u003cyour license key\u003e`\n3. `eopa run -s https://dl.styra.com/enterprise-opa/bundle-enterprise-opa-400.tar.gz`\n4. `curl 'http://localhost:8181/metrics/alloc_bytes?pretty=true'`\n\nTo compare with OPA:\n\n1. `opa run -s -a localhost:8282 https://dl.styra.com/enterprise-opa/bundle-opa-400.tar.gz`\n2. `curl 'http://localhost:8282/metrics/alloc_bytes?pretty=true'`\n\nNote: both Styra Enterprise OPA and OPA will show \"peak\" memory usage if queried just after\nlaunch, so waiting a few minutes before checking the metrics will provide numbers\ncloser to real-world use.\n\n\u003c/details\u003e\u003cbr/\u003e\n\n## 📖 About This Repository\n\nThis repository provides:\n\n* The Styra Enterprise OPA [Docker images](https://github.com/StyraInc/enterprise-opa/pkgs/container/enterprise-opa)\n* The Styra Enterprise OPA [binaries](https://github.com/StyraInc/enterprise-opa/releases/)\n* Example code and deployment blueprints for Styra Enterprise OPA\n\nFor Styra Enterprise OPA documentation, see [docs.styra.com](https://docs.styra.com/enterprise-opa)\n\n## 🏃 Getting Started\n\nStyra Enterprise OPA can run either containerized with Docker, or as a standalone executable.\n\n### ⬇️ Download Styra Enterprise OPA\n\n**MacOS and Linux**\n```shell\nbrew install styrainc/packages/eopa\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cstrong\u003eManual download options\u003c/strong\u003e\u003c/summary\u003e\n\n**MacOS (Apple Silicon)**\n```shell\ncurl -L -o eopa \"https://github.com/StyraInc/enterprise-opa/releases/latest/download/eopa_Darwin_arm64\"\nxattr -d com.apple.quarantine eopa\nchmod +x eopa\n```\n\n**MacOS (x86_64)**\n```shell\ncurl -L -o eopa \"https://github.com/StyraInc/enterprise-opa/releases/latest/download/eopa_Darwin_x86_64\"\nxattr -d com.apple.quarantine eopa\nchmod +x eopa\n```\n\n**Linux (x86_64)**\n```shell\ncurl -L -o eopa \"https://github.com/StyraInc/enterprise-opa/releases/latest/download/eopa_Linux_x86_64\"\nchmod +x eopa\n```\n\n**Windows**\n```shell\ncurl.exe -L -o eopa.exe \"https://github.com/StyraInc/enterprise-opa/releases/latest/download/eopa_Windows_x86_64.exe\"\n```\n\nSee all versions, and checksum files, at the Styra Enterprise OPA [releases](https://github.com/StyraInc/enterprise-opa/releases/) page.\n\n\u003c/details\u003e\u003cbr/\u003e\n\n\nAlternatively, download the Styra Enterprise OPA Docker image:\n\n```shell\ndocker pull ghcr.io/styrainc/enterprise-opa:latest\n```\n\nChecksums for all binaries may optionally be retrieved from [here](https://github.com/StyraInc/enterprise-opa/releases/latest/download/checksums.txt).\n\n### 🔑 Obtaining a License\n\nRunning Styra Enterprise OPA requires a valid license key. To evaluate Styra Enterprise OPA, a free 14 day trial license may be obtained from [here](https://www.styra.com/free-trial-14/?utm_medium=community_u\u0026utm_source=github).\n\nThe license key can either be provided the `eopa` command via an environment variable:\n\n```shell\nexport EOPA_LICENSE_KEY=\u003clicense key here\u003e\n```\n\nOr via the filesystem using the `--license-key` flag:\n\n```shell\neopa run --server --license-key \u003cpath to file containing license key here\u003e ...\n```\n\n### 🐳 Running Enterprise OPA with Docker\n\n```shell\ndocker run -v $(pwd):/enterprise-opa -w /enterprise-opa ghcr.io/styrainc/enterprise-opa:latest run --config-file /enterprise-opa/enterprise-opa-conf.yml\n```\n\n### ⚡ Running the Enterprise OPA Binary\n\nRun the Styra `eopa` binary same as you would run `opa`:\n\n```shell\neopa run --server --license-key  ...\n```\n\n```shell\neopa eval --data policy.rego --input input.json ...\n```\n\n## 🖋️ Examples\n\nThis repository additionally contains companion examples and blueprints from the Styra Enterprise OPA [documentation](https://docs.styra.com/enterprise-opa).\n\n- [Performance testing](/examples/performance-testing/)\n- Kubernetes [deployment example](/examples/kubernetes/)\n- Streaming data from [Apache Kafka](/examples/kafka/)\n\n## 🗣️ Community\n\nFor questions, discussions and announcements related to Styra products, services and open source projects, please join the Styra community on [Slack](https://communityinviter.com/apps/styracommunity/signup)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyrainc%2Fenterprise-opa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyrainc%2Fenterprise-opa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyrainc%2Fenterprise-opa/lists"}