{"id":15022684,"url":"https://github.com/puppetlabs/leg","last_synced_at":"2026-02-28T10:32:19.205Z","repository":{"id":39581821,"uuid":"318593333","full_name":"puppetlabs/leg","owner":"puppetlabs","description":"Relay's library of useful Go tools","archived":false,"fork":false,"pushed_at":"2023-01-16T22:49:51.000Z","size":6257,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-11-22T15:02:29.921Z","etag":null,"topics":["relay"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puppetlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2020-12-04T17:47:38.000Z","updated_at":"2023-05-30T02:37:27.000Z","dependencies_parsed_at":"2023-02-10T06:45:16.787Z","dependency_job_id":null,"html_url":"https://github.com/puppetlabs/leg","commit_stats":null,"previous_names":[],"tags_count":84,"template":false,"template_full_name":null,"purl":"pkg:github/puppetlabs/leg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fleg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fleg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fleg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fleg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puppetlabs","download_url":"https://codeload.github.com/puppetlabs/leg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fleg/sbom","scorecard":{"id":749741,"data":{"date":"2025-08-11","repo":{"name":"github.com/puppetlabs/leg","commit":"9ef9a90330c019d510bffc445d73cb87c1841384"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"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":"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":"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":"Code-Review","score":5,"reason":"Found 9/18 approved changesets -- score normalized to 5","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":"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":"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.yaml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/puppetlabs/leg/ci.yaml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yaml:91","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/puppetlabs/.github/SECURITY.md:1","Info: Found linked content: github.com/puppetlabs/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/puppetlabs/.github/SECURITY.md:1"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 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":"55 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2022-0391 / GHSA-6jvc-q2x7-pchv / GHSA-76wf-9vgp-pj7w","Warn: Project is vulnerable to: GO-2022-0635 / GHSA-7f33-f4f5-xwgw","Warn: Project is vulnerable to: GO-2022-0646 / GHSA-f5pg-7wfw-84q9","Warn: Project is vulnerable to: GO-2022-0322 / GHSA-cg3q-j54f-5p7p","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: GO-2023-2153 / GHSA-m425-mq94-257g / 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-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq","Warn: Project is vulnerable to: GO-2023-2074 / GHSA-m9xq-6h2j-65r2","Warn: Project is vulnerable to: GO-2024-3205 / GHSA-xhr3-wf7j-h255","Warn: Project is vulnerable to: GO-2022-0411 / GHSA-3839-6r69-m497 / GHSA-xg2h-wx96-xgxr","Warn: Project is vulnerable to: GO-2024-2947 / GHSA-v6v8-xj6m-xwqh","Warn: Project is vulnerable to: GO-2022-1021 / GHSA-7cgv-v83v-rr87","Warn: Project is vulnerable to: GO-2023-1897 / GHSA-9mh8-9j64-443f","Warn: Project is vulnerable to: GO-2023-1900 / GHSA-wmg5-g953-qqfw","Warn: Project is vulnerable to: GO-2023-1708 / GHSA-hwc3-3qh6-r4gg","Warn: Project is vulnerable to: GO-2023-1685 / GHSA-v3hp-mcj5-pg39","Warn: Project is vulnerable to: GO-2023-1709 / GHSA-vq4h-9ghm-qmrr","Warn: Project is vulnerable to: GO-2023-1849 / GHSA-gq98-53rq-qr5h","Warn: Project is vulnerable to: GO-2023-2063 / GHSA-v84f-6r39-cpfc","Warn: Project is vulnerable to: GO-2023-2088 / GHSA-86c6-3g63-5w64","Warn: Project is vulnerable to: GO-2023-1986 / GHSA-9v3w-w2jh-4hff","Warn: Project is vulnerable to: GO-2023-2329 / GHSA-4qhc-v8r6-8vwm","Warn: Project is vulnerable to: GO-2024-2617 / GHSA-r3w7-mfpm-c2vw","Warn: Project is vulnerable to: GO-2024-2921 / GHSA-32cj-5wx4-gq8p","Warn: Project is vulnerable to: GO-2024-2690 / GHSA-j2rp-gmqv-frhv","Warn: Project is vulnerable to: GO-2024-3162 / GHSA-jg74-mwgw-v6x3","Warn: Project is vulnerable to: GO-2024-3191 / GHSA-rr8j-7w34-xp5j","Warn: Project is vulnerable to: GO-2024-3246 / GHSA-g233-2p4r-3q7v","Warn: Project is vulnerable to: GO-2025-3663 / GHSA-gcqf-f89c-68hv","Warn: Project is vulnerable to: GO-2025-3837 / GHSA-6h4p-m86h-hhgh","Warn: Project is vulnerable to: GO-2025-3836 / GHSA-6c5r-4wfc-3mcx","Warn: Project is vulnerable to: GO-2025-3838 / GHSA-mr4h-qf9j-f665","Warn: Project is vulnerable to: GO-2025-3839 / GHSA-mwgr-84fv-3jh9","Warn: Project is vulnerable to: GO-2025-3841 / GHSA-qv3p-fmv3-9hww","Warn: Project is vulnerable to: GO-2025-3848 / GHSA-7rx2-769v-hrwf","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-2024-2631 / GHSA-c5q2-7r4c-mv6g"],"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-22T19:56:11.815Z","repository_id":39581821,"created_at":"2025-08-22T19:56:11.815Z","updated_at":"2025-08-22T19:56:11.815Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29930344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"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":["relay"],"created_at":"2024-09-24T19:58:16.134Z","updated_at":"2026-02-28T10:32:19.168Z","avatar_url":"https://github.com/puppetlabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leg\n\nThis repository contains several Go modules that make up Relay's set of common\nutility components. Each module is versioned and managed independently.\n\n## License\n\nPlease see the `LICENSE` file in each module for licensing information for that\nmodule. The `LICENSE` file in this directory covers common scripts,\nconfiguration, and documentation (like this file) only.\n\n## Components\n\n* [`datastructure`](datastructure): Support for data structures not part of the\n  Go standard library.\n* [`encoding`](encoding): Seamless transports for non-Unicode data over strings\n  or JSON.\n* [`errmap`](errmap): An extension to Go 1.13's new error features that allows\n  wrapping behavior to be customized. Support for semantic grouping of errors.\n* [`graph`](graph): Directed and undirected graph data structures and\n  algorithms.\n* [`gvalutil`](gvalutil): Extra helpers for Gval.\n* [`hashutil`](hashutil): Standardized structures for working with the standard\n  library's hashing algorithms.\n* [`httputil`](httputil): Standardized structures for HTTP requests and\n  responses. Supporting algorithms for working with HTTP servers.\n* [`instrumentation`](instrumentation): Integration with error reporting and\n  metrics services.\n* [`jsonutil`](jsonutil): Extra data types for JSON data and support for\n  JSONPath queries.\n* [`k8sutil`](k8sutil): Kubernetes controller framework and support utilities\n  for client operations.\n* [`lifecycle`](lifecycle): Support for running and gracefully stopping\n  services within a context boundary.\n* [`logging`](logging): Standardized logging interface for Relay projects.\n* [`mainutil`](mainutil): Support for managing a set of concurrent processes\n  with automatic signal processing and process termination.\n* [`mathutil`](mathutil): Additions to the Go standard library's math packages.\n* [`netutil`](netutil): Additions to the Go standard library's networking\n  packages.\n* [`relspec`](relspec): A JSON templating language.\n* [`request`](request): Standardized support for passing rudimentary tracing\n  information through a context.\n* [`scheduler`](scheduler): Advanced management of Goroutines in process pools.\n* [`sqlutil`](sqlutil): Additions to the Go standard library's SQL package.\n* [`storage`](storage): Standardized interfaces and implementations for working\n  with third-party storage services (like S3).\n* [`stringutil`](stringutil): Additions to the Go standard library's strings\n  package.\n* [`timeutil`](timeutil): Additions to the Go standard library's time package,\n  including support for ISO 8601 interval types.\n* [`vaultutil`](vaultutil): Vault system management with Kubernetes integration.\n* [`workdir`](workdir): Utilities for managing ephemeral or permanent\n  application state directories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fleg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuppetlabs%2Fleg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fleg/lists"}