{"id":17337819,"url":"https://github.com/dio/envoy-lua-opa","last_synced_at":"2026-02-09T00:04:10.757Z","repository":{"id":131606296,"uuid":"282403404","full_name":"dio/envoy-lua-opa","owner":"dio","description":"Simple example of calling OPA from Envoy's Lua httpCall() API","archived":false,"fork":false,"pushed_at":"2020-07-25T08:30:08.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T06:37:48.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Open Policy Agent","has_issues":true,"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/dio.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-25T08:29:44.000Z","updated_at":"2020-07-25T08:35:36.000Z","dependencies_parsed_at":"2023-05-31T06:39:40.455Z","dependency_job_id":null,"html_url":"https://github.com/dio/envoy-lua-opa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dio/envoy-lua-opa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dio%2Fenvoy-lua-opa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dio%2Fenvoy-lua-opa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dio%2Fenvoy-lua-opa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dio%2Fenvoy-lua-opa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dio","download_url":"https://codeload.github.com/dio/envoy-lua-opa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dio%2Fenvoy-lua-opa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29250235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T22:49:53.206Z","status":"ssl_error","status_checked_at":"2026-02-08T22:49:51.384Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-15T15:36:18.950Z","updated_at":"2026-02-09T00:04:10.742Z","avatar_url":"https://github.com/dio.png","language":"Open Policy Agent","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Call OPA endpoint from Envoy's Lua `httpCall()` API\n\nClient calls envoy, will be intercepted by Lua Filter, in which calls OAP service, then the request\nis forwarded to google.com.\n\n```\nclient -\u003e envoy -- via httpCall() --\u003e opa\n                \\-- google.com\n```\n\n```\n$ docker-compose up -d\n$ ./feed-opa.sh\n\n  ... response from google.com ...\n\n$ docker-compose logs envoy | tail -1\nenvoy_1       | [2020-07-25 08:21:58.550][21][info][lua] [source/extensions/filters/http/lua/lua_filter.cc:705] script log: {\"decision_id\":\"3664a035-7b76-42b7-b579-56bdec716a30\",\"result\":{\"allow\":false,\"subordinates\":{\"alice\":[],\"betty\":[\"charlie\"],\"bob\":[\"alice\"],\"charlie\":[]}}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdio%2Fenvoy-lua-opa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdio%2Fenvoy-lua-opa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdio%2Fenvoy-lua-opa/lists"}