{"id":21029647,"url":"https://github.com/loafoe/hmac","last_synced_at":"2026-02-07T06:01:08.759Z","repository":{"id":147501678,"uuid":"241619167","full_name":"loafoe/hmac","owner":"loafoe","description":"HSDP Metrics Alert Collector","archived":false,"fork":false,"pushed_at":"2024-12-19T07:21:16.000Z","size":732,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-18T12:11:28.504Z","etag":null,"topics":["hsdp","metrics","webhook"],"latest_commit_sha":null,"homepage":null,"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/loafoe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-19T12:43:07.000Z","updated_at":"2024-09-27T15:09:42.000Z","dependencies_parsed_at":"2025-04-12T13:12:40.380Z","dependency_job_id":"6c00fa8e-3088-40aa-ac17-ba06cd8d5008","html_url":"https://github.com/loafoe/hmac","commit_stats":null,"previous_names":["philips-labs/hmac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/loafoe/hmac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fhmac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fhmac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fhmac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fhmac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loafoe","download_url":"https://codeload.github.com/loafoe/hmac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fhmac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29187934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["hsdp","metrics","webhook"],"created_at":"2024-11-19T12:13:31.938Z","updated_at":"2026-02-07T06:01:08.743Z","avatar_url":"https://github.com/loafoe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HMAC\nHMAC AKA HSDP Metrics Alerts Collector is a tiny microservice which acts as\na webhook receiver for the alerts generated by the HSDP Metrics alerts service.\n\n# Description\n\nThis microservice can run standalone but can also be deployed as a sidecar as part\nof a Grafana frontend. The service collects and stores alert payloads in a PostgreSQL database. The application is optimized for deployment to Cloud foundry but can also run on other container orchestration platforms. It uses [gautocloud](https://github.com/cloudfoundry-community/gautocloud) for service configuration.\n\n# Docker\nUse the included Dockerfile to build a docker image which can be deployed to CF directly.\n\n```bash\n$ git clone https://github.com/philips-labs/hmac.git\n$ cd hmac\n$ docker build -t hmac .\n```\n\n# Deployment\nSee the below manifest.yml file as an example. \n\n```yaml\n---\napplications:\n- name: hmac\n  domain: hmac.host.com\n  instances: 1\n  memory: 128M\n  disk_quota: 128M\n  routes:\n  - route: hmac.host.com\n  env:\n    HMAC_TOKEN: RandomTokenHere\n  services:\n  - postgresql\n  stack: cflinuxfs3\n```\n\n## Endpoint\n\nOnce deployed the application listens for `POST` requests on `/webhook/alerts/:token`, where `:token` is the value from the environment variable `TOKEN`\n \n# Maintainers\nSee [MAINTAINERS.md](MAINTAINERS.md)\n\n# License\nLicense is MIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fhmac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floafoe%2Fhmac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fhmac/lists"}