{"id":23773884,"url":"https://github.com/styrainc/eopa-ci-demo","last_synced_at":"2026-04-03T19:30:17.302Z","repository":{"id":242862571,"uuid":"741476957","full_name":"StyraInc/eopa-ci-demo","owner":"StyraInc","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-31T09:17:18.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-01T05:45:51.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/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,"publiccode":null,"codemeta":null}},"created_at":"2024-01-10T13:29:53.000Z","updated_at":"2024-06-05T09:44:33.000Z","dependencies_parsed_at":"2024-06-05T12:23:23.207Z","dependency_job_id":"7e956408-94af-4af8-b6fb-7609accb47f7","html_url":"https://github.com/StyraInc/eopa-ci-demo","commit_stats":null,"previous_names":["styrainc/eopa-ci-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Feopa-ci-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Feopa-ci-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Feopa-ci-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StyraInc%2Feopa-ci-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StyraInc","download_url":"https://codeload.github.com/StyraInc/eopa-ci-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964497,"owners_count":19725950,"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":[],"created_at":"2025-01-01T05:46:10.485Z","updated_at":"2026-04-03T19:30:17.243Z","avatar_url":"https://github.com/StyraInc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eopa-ci-demo\n\nThis is an example demonstrating the use of Enterprise OPA and DAS in a CI/CD setting.\n\nCurrently, the instance(s) of EOPA used in the CI workflow will NOT use anything from DAS.\n\nEventually, this is what should happen: per-branch CI runs should take the policies from the\nrepository itself, and have EOPA run with those; fill whatever blanks exist with libraries\netc from DAS, as configured.\n\n## Prerequirements\n\n- docker compose\n\n## Steps\n\nUse `docker compose up --wait` to start everything. The first run will take particularly long,\nbecause it's pulling images.\n\nThen run `hurl` with the test/integration scripts, \n\n    docker compose run integration-tests\n\nIf you have [`hurl`](https://hurl.dev) installed locally, you can also try\n\n    hurl --test --glob 'test/integration/**/*.hurl' --report-html report\n\nThis command will create a neat little report html in the \"report\" directory.\n\n## References\n\n- The Spring Boot demo was taken from [this blog post](https://sultanov.dev/blog/externalized-authorization-using-opa-and-spring-security/),\n  and the code imported from [this repo](https://github.com/anarsultanov/examples/tree/c42d8bf1ea69d5ac3b94e54c552f6dc5a6cad509/spring-security-opa-authz).\n\n  Changes:\n  - the hardcoded OPA location\n  - policy code was updated\n  - pom.xml was adjusted, and a Dockerfile added\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyrainc%2Feopa-ci-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyrainc%2Feopa-ci-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyrainc%2Feopa-ci-demo/lists"}