{"id":43448519,"url":"https://github.com/aleasoluciones/gochecks","last_synced_at":"2026-02-03T01:16:02.382Z","repository":{"id":27318193,"uuid":"30792505","full_name":"aleasoluciones/gochecks","owner":"aleasoluciones","description":"Library for checking services health and publish events","archived":false,"fork":false,"pushed_at":"2023-05-18T12:16:59.000Z","size":155,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-19T09:54:11.247Z","etag":null,"topics":["golang","library"],"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/aleasoluciones.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2015-02-14T09:34:00.000Z","updated_at":"2022-02-16T19:19:24.000Z","dependencies_parsed_at":"2024-06-19T09:47:39.802Z","dependency_job_id":"f94118b1-e958-4d77-a832-2675bc4760f9","html_url":"https://github.com/aleasoluciones/gochecks","commit_stats":null,"previous_names":["aleasoluciones/felixcheck"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aleasoluciones/gochecks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleasoluciones%2Fgochecks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleasoluciones%2Fgochecks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleasoluciones%2Fgochecks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleasoluciones%2Fgochecks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleasoluciones","download_url":"https://codeload.github.com/aleasoluciones/gochecks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleasoluciones%2Fgochecks/sbom","scorecard":{"id":178544,"data":{"date":"2025-08-11","repo":{"name":"github.com/aleasoluciones/gochecks","commit":"60872c30185b3f41a9d782b808e227776040cc08"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/aleasoluciones/gochecks/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/aleasoluciones/gochecks/ci.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T18:20:21.281Z","repository_id":27318193,"created_at":"2025-08-16T18:20:21.281Z","updated_at":"2025-08-16T18:20:21.281Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29025804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T00:53:18.321Z","status":"ssl_error","status_checked_at":"2026-02-03T00:51:45.186Z","response_time":58,"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":["golang","library"],"created_at":"2026-02-03T01:16:00.734Z","updated_at":"2026-02-03T01:16:02.362Z","avatar_url":"https://github.com/aleasoluciones.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gochecks\n\n[![CI](https://github.com/aleasoluciones/gochecks/actions/workflows/ci.yml/badge.svg)](https://github.com/aleasoluciones/gochecks/actions/workflows/ci.yml)\n[![GoDoc](https://godoc.org/github.com/aleasoluciones/gochecks?status.png)](http://godoc.org/github.com/aleasoluciones/gochecks)\n[![License](https://img.shields.io/github/license/aleasoluciones/http2amqp)](https://github.com/aleasoluciones/http2amqp/blob/master/LICENSE)\n\ngochecks package provides utilities to check services health and publish events.\nIt is written fully in Go.\n\nIt includes:\n * checks scheduler\n * add checks results\n * various checks:\n   * Tcp port\n   * ICMP/Ping\n   * http\n   * snmp get\n   * rabbitmq queue len\n   * Arris C4 CMTS temp\n   * JunOS devices cpu usage and temp\n   * MySQL connectivity\n   * Jenkins jobs status\n\n * Publishers:\n   * RabbitMQ / AMQP\n\n## Install\n\n```\ngo get github.com/aleasoluciones/gochecks\n```\n\n\n## Sample code\n\nCreate a Checks Engine with two publisher (rabbit and log)\n```\ncheckEngine := gochecks.NewCheckEngine([]gochecks.CheckPublisher{\n    gochecks.RabbitMqPublisher(\"amqp://localhost\", \"events\"),\n    gochecks.NewLogPublisher(),\n})\n```\nAdd a periodic (20 seconds) http check with up to three retries, tagging the result as production and adding some attributes.\n```\ncheckEngine.AddCheck(\n    gochecks.NewHttpChecker(\"golang\", \"http\", \"http://www.golang.org\", 200).\n      Attributes(map[string]string{\"version\": \"1\", \"network\": \"google\"}).\n      Tags(\"production\").\n      Retry(3, 1*time.Second),\n    20 * time.Second)\n```\n\n## Development\n\nTo pass the integration tests you need to execute a MySQL server, a Postgres server and a RabbitMQ Server and export the corresponding vars.\n\nThe directory dev/ offers two scripts and an environment file to achieve this easily:\n\n```\nsource dev/env_develop\ndev/start_gochecks_dependencies.sh\ngo test -tags integration -v ./...\ndev/stop_gochecks_dependencies.sh\n```\n\n## Todo\n * Metric for all the checks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleasoluciones%2Fgochecks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleasoluciones%2Fgochecks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleasoluciones%2Fgochecks/lists"}