{"id":34670786,"url":"https://github.com/hyperscale-stack/filter","last_synced_at":"2026-01-20T16:25:57.417Z","repository":{"id":111473530,"uuid":"294679276","full_name":"hyperscale-stack/filter","owner":"hyperscale-stack","description":"The Hyperscale Filter library provides a set of commonly needed data filters. It also provides a simple filter chaining mechanism by which multiple filters may be applied to a single datum in a user-defined order.","archived":false,"fork":false,"pushed_at":"2025-08-25T06:36:14.000Z","size":86,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T09:23:02.799Z","etag":null,"topics":["filter","filters","golang","golang-library","golang-module","input-filter"],"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/hyperscale-stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-09-11T11:39:20.000Z","updated_at":"2025-08-25T06:36:17.000Z","dependencies_parsed_at":"2024-02-26T08:27:43.023Z","dependency_job_id":"482a2a0c-c335-473f-b57b-131d9e85981b","html_url":"https://github.com/hyperscale-stack/filter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hyperscale-stack/filter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperscale-stack%2Ffilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperscale-stack%2Ffilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperscale-stack%2Ffilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperscale-stack%2Ffilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperscale-stack","download_url":"https://codeload.github.com/hyperscale-stack/filter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperscale-stack%2Ffilter/sbom","scorecard":{"id":475514,"data":{"date":"2025-08-11","repo":{"name":"github.com/hyperscale-stack/filter","commit":"b8309a2fe4f0792ab4a0a27871d2763b67089e3a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":0,"reason":"Found 0/6 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.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":"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":"1 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":"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/go.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperscale-stack/filter/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperscale-stack/filter/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperscale-stack/filter/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperscale-stack/filter/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperscale-stack/filter/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:148: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperscale-stack/filter/go.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party 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":"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.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 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"}}]},"last_synced_at":"2025-08-19T15:10:54.092Z","repository_id":111473530,"created_at":"2025-08-19T15:10:54.092Z","updated_at":"2025-08-19T15:10:54.092Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":["filter","filters","golang","golang-library","golang-module","input-filter"],"created_at":"2025-12-24T19:55:44.906Z","updated_at":"2026-01-20T16:25:57.409Z","avatar_url":"https://github.com/hyperscale-stack.png","language":"Go","readme":"Hyperscale Filter [![Last release](https://img.shields.io/github/release/hyperscale-stack/filter.svg)](https://github.com/hyperscale-stack/filter/releases/latest) [![Documentation](https://godoc.org/github.com/hyperscale-stack/filter?status.svg)](https://godoc.org/github.com/hyperscale-stack/filter)\n====================\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/hyperscale-stack/filter)](https://goreportcard.com/report/github.com/hyperscale-stack/filter)\n\n| Branch  | Status | Coverage |\n|---------|--------|----------|\n| master  | [![Build Status](https://github.com/hyperscale-stack/filter/workflows/Go/badge.svg?branch=master)](https://github.com/hyperscale-stack/filter/actions?query=workflow%3AGo) | [![Coveralls](https://img.shields.io/coveralls/hyperscale-stack/filter/master.svg)](https://coveralls.io/github/hyperscale-stack/filter?branch=master) |\n\nThe Hyperscale Filter library provides a set of commonly needed data filters. It also provides a simple filter chaining mechanism by which multiple filters may be applied to a single datum in a user-defined order. \n\n## Example\n\nFilter by `map[string]interface{}`\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/hyperscale-stack/filter\"\n)\n\nfunc main() {\n\n    i := NewInputFilter(map[string][]Filter{\n\t\t\"email\": {\n\t\t\tNewStringToLowerFilter(),\n\t\t},\n\t})\n\n\tvalue, err := i.FilterMap(map[string]interface{}{\n\t\t\"email\":  \"STEVE@APPLE.COM\",\n    })\n    // return \n    // map[string]interface{}{\n\t//     \"email\":  \"steve@apple.com\",\n    // }\n}\n\n```\n\n\nFilter by `url.Values`\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/hyperscale-stack/filter\"\n)\n\nfunc main() {\n\n    i := NewInputFilter(map[string][]Filter{\n\t\t\"email\": {\n\t\t\tNewStringToLowerFilter(),\n\t\t},\n\t})\n\n    values := url.Values{}\n    values.Set(\"email\", \"STEVE@APPLE.COM\")\n\n\tvalue, err := i.FilterValues(values)\n    // return \n    // url.Values{\n\t//     \"email\":  []string{\"steve@apple.com\"},\n    // }\n}\n\n```\n\n\n## License\n\nHyperscale Filter is licensed under [the MIT license](LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperscale-stack%2Ffilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperscale-stack%2Ffilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperscale-stack%2Ffilter/lists"}