{"id":22230067,"url":"https://github.com/sngular/gitops-echobot","last_synced_at":"2026-05-03T12:36:35.311Z","repository":{"id":131660634,"uuid":"362261175","full_name":"sngular/gitops-echobot","owner":"sngular","description":"Aplicación Golang utilizada en los ejercicios de la serie GitOps Flux","archived":false,"fork":false,"pushed_at":"2021-07-03T19:24:45.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T15:57:26.124Z","etag":null,"topics":["fluxcd","gitops","kubernetes"],"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/sngular.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}},"created_at":"2021-04-27T21:54:57.000Z","updated_at":"2023-01-19T08:25:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"b145112b-e3d1-41df-b6ad-863fff61de19","html_url":"https://github.com/sngular/gitops-echobot","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sngular/gitops-echobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fgitops-echobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fgitops-echobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fgitops-echobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fgitops-echobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sngular","download_url":"https://codeload.github.com/sngular/gitops-echobot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sngular%2Fgitops-echobot/sbom","scorecard":{"id":834573,"data":{"date":"2025-08-11","repo":{"name":"github.com/sngular/gitops-echobot","commit":"7370dadedb7b69a6e7df10de130f456ce723111f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yaml: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":"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":"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":"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":"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":"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/release.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/sngular/gitops-echobot/release.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:17: pin your Docker image by updating alpine:3.14.0 to alpine:3.14.0@sha256:adab3844f497ab9171f070d4cae4114b5aec565ac772e2f2579405b78be67c96","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp"],"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-23T18:38:05.595Z","repository_id":131660634,"created_at":"2025-08-23T18:38:05.595Z","updated_at":"2025-08-23T18:38:05.595Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["fluxcd","gitops","kubernetes"],"created_at":"2024-12-03T01:14:12.148Z","updated_at":"2026-05-03T12:36:35.289Z","avatar_url":"https://github.com/sngular.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitops-echobot\n\nAplicación Golang utilizada en los ejercicios de la serie [GitOps Flux](https://github.com/Sngular/gitops-flux-series).\n\n## Descripción\n\nEn función del valor de la variable `OUTPUT_TYPE`:\n\n- `OUTPUT_TYPE=stdout`: imprime trazas en la consola con cierta frecuencia.\n\n\n- `OUTPUT_TYPE=mongodb`: inserta trazas de log en una base de datos [MongoDB](https://www.mongodb.com/) con cierta frecuencia e imprime mensajes en la consola sobre con información de la traza.\n\nEl mensaje de la traza y la frecuencia de tiempo pueden ser modificados a través de las variables de entorno `MESSAGE` y `SLEEP_TIME` respectivamente.\n\nLa base de datos se configura mediante las variables de entorno `MONGODB_URI`, `MONGODB_DATABASE` y `MONGODB_COLLECTION`.\n\n## Variables de entorno\n\nEl funcionamiento de la aplicación puede ser modificado a través de variables de entorno:\n\n| Variable de entorno  | Descripción                                                  | Requerida | Valor por defecto     |\n|----------------------|--------------------------------------------------------------|-----------|-----------------------|\n| `OUTPUT_TYPE`        | Define el tipo de salida del servicio (`stdout`, `mongodb`). | No        | \"stdout\"              |\n| `MESSAGE`            | Modifica el mensaje de impreso en la pantalla.               | No        | \"Gitops Flux series!\" |\n| `SLEEP_TIME`         | Modifica el intervalo de tiempo entre mensajes.              | No        | 5s                    |\n| `MONGODB_URI`        | MongoDB uri `mongodb://user:pass@host:port`.                 | No        |                       |\n| `MONGODB_DATABASE`   | Nombre de la base de datos donde se insertarán los datos.    | No        | echobot               |\n| `MONGODB_COLLECTION` | Nombre de la `collection` donde se insertarán los datos.     | No        | log                   |\n\n## Funcionamiento\n\nPara ver su funcionamiento utilice el siguiente comando:\n\n```bash\ndocker container run --rm ghcr.io/sngular/gitops-echobot:v0.2.2\n\nhostname: 86f43c549bd4 - Gitops Flux series!\nhostname: 86f43c549bd4 - Gitops Flux series!\nhostname: 86f43c549bd4 - Gitops Flux series!\n```\n\nSi se desean almacenar las trazas en una base de datos MongoDB:\n\n```bash\ndocker container run --rm \\\n  --env OUTPUT_TYPE=\"mongodb\" \\\n  --env SLEEP_TIME=\"5s\" \\\n  --env MESSAGE=\"Sngular utiliza Gitops en sus entornos\" \\\n  --env MONGODB_URI=\"mongodb://test:1234@localhost:27017\" \\\n  --env MONGODB_DATABASE=\"echobot\" \\\n  --env MONGODB_COLLECTION=\"log\" \\\n  ghcr.io/sngular/gitops-echobot:v0.2.2\n\nTraza insertada en base de datos (507f1f77bcf86cd799439011): 680c3892c04c - Sngular utiliza Gitops en sus entornos\nTraza insertada en base de datos (757f191a810c19729de860ae): 680c3892c04c - Sngular utiliza Gitops en sus entornos\nTraza insertada en base de datos (807f191a810c19729de860ae): 680c3892c04c - Sngular utiliza Gitops en sus entornos\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsngular%2Fgitops-echobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsngular%2Fgitops-echobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsngular%2Fgitops-echobot/lists"}