{"id":34175715,"url":"https://github.com/hmdsefi/athenz-agent","last_synced_at":"2026-03-12T17:04:52.671Z","repository":{"id":52941562,"uuid":"353493770","full_name":"hmdsefi/athenz-agent","owner":"hmdsefi","description":"Athenz-Agent is a sidecar agent that wraps both ZPE and ZPU to facilitate development. It helps developers to concentrate on their software and use Athenz service with ease.","archived":false,"fork":false,"pushed_at":"2021-04-13T00:11:13.000Z","size":190,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T16:32:36.699Z","etag":null,"topics":["athenz","athenz-agent","sidecar-agent","sidecar-container","yahoo","yahoo-athenz","zms-server","zpu"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmdsefi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-31T21:22:59.000Z","updated_at":"2024-06-19T16:32:36.700Z","dependencies_parsed_at":"2022-08-26T20:55:56.167Z","dependency_job_id":null,"html_url":"https://github.com/hmdsefi/athenz-agent","commit_stats":null,"previous_names":["hamed-yousefi/athenz-agent"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hmdsefi/athenz-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmdsefi%2Fathenz-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmdsefi%2Fathenz-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmdsefi%2Fathenz-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmdsefi%2Fathenz-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmdsefi","download_url":"https://codeload.github.com/hmdsefi/athenz-agent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmdsefi%2Fathenz-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30434110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"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":["athenz","athenz-agent","sidecar-agent","sidecar-container","yahoo","yahoo-athenz","zms-server","zpu"],"created_at":"2025-12-15T12:16:43.676Z","updated_at":"2026-03-12T17:04:52.660Z","avatar_url":"https://github.com/hmdsefi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/hamed-yousefi/athenz-agent.svg?branch=master)](https://travis-ci.com/hamed-yousefi/athenz-agent)\n[![codecov](https://codecov.io/gh/hamed-yousefi/athenz-agent/branch/master/graph/badge.svg?token=WF7MZ3VFHG)](https://codecov.io/gh/hamed-yousefi/athenz-agent)\n[![Go Report Card](https://goreportcard.com/badge/github.com/hamed-yousefi/athenz-agent)](https://goreportcard.com/report/github.com/hamed-yousefi/athenz-agent)\n[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B24403%2Fgithub.com%2Fhamed-yousefi%2Fathenz-agent.svg?type=shield)](https://app.fossa.com/projects/custom%2B24403%2Fgithub.com%2Fhamed-yousefi%2Fathenz-agent?ref=badge_shield)\n### Athenz Sidecar Agent\nYou're a Yahoo Athenz fan, so this app is created for you. `athenz-agent` contains athenz ZPE and ZPU utilities in Go language.\nZPU will download the domains' policy files and store\nthem into the filesystem. In other side, ZPE will use that policy files, and it will cache them into memory to use them as\nfast as possible.\n\n![flow](https://github.com/hamed-yousefi/athenz-agent/blob/master/docs/images/auth_flow.png)\n\nAthenz agent exposes two APIs:\n- CheckAccessWithToken\n- GetServiceToken\n\n**CheckAccessWithToken:** Accepts three arguments including client service RoleToken, provider service access,\nand provider service resource.\n\n**GetServiceToken:** Has no input argument. It returns RoleToken az result.\n\n\n### How to install\nFor using Makefile you must edit this file and change some variables as you want.\n* Set `BUILDPATH` to any directory that you want build this project into:\n``` \nBUILDPATH=/home/athenz/sidecar \n```\n\n* Set ZMS url to `URL` variable:\n```\nURL=https://localhost:4443/\n``` \n\n* You need to use `athenz-conf` utility to get `athenz.conf` file from ZMS server. To do that first you need to add ZMS\n  server cert file to your local machine `/etc/ssl/certs` folder and run `sudo c_rehash`. Now you can set `athenz-conf` executable file directory\n  to `ATHENZCONF` variable:\n```\nATHENZCONF=/home/athenz/athenz-zms-1.8.10/bin/linux\n```\n* Use `make sync` command to get all project dependencies.\n* Now you can build the project with `make build` command in command line.\n* Run project with this command:\n```bash\ncd $(BUILDPATH) \u0026\u0026 ./athenz-agent\n```\n\n### Configuration\nAll default configuration files placed in `build/config` path.\n\n## License\nMIT License, please see [LICENSE](https://github.com/hamed-yousefi/athenz-agent/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmdsefi%2Fathenz-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmdsefi%2Fathenz-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmdsefi%2Fathenz-agent/lists"}