{"id":13522358,"url":"https://github.com/guessi/kubectl-grep","last_synced_at":"2026-04-16T07:01:39.707Z","repository":{"id":43612695,"uuid":"170360309","full_name":"guessi/kubectl-grep","owner":"guessi","description":"Filter Kubernetes resources by matching their names","archived":false,"fork":false,"pushed_at":"2026-02-07T03:31:05.000Z","size":458,"stargazers_count":122,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-07T13:39:29.160Z","etag":null,"topics":["github-actions","golang","kubectl","kubectl-plugins","kubernetes"],"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/guessi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-12T17:25:18.000Z","updated_at":"2026-02-07T03:31:06.000Z","dependencies_parsed_at":"2023-02-01T03:45:59.257Z","dependency_job_id":"423eebc5-b3e7-4a6f-8a10-c64409b0ded5","html_url":"https://github.com/guessi/kubectl-grep","commit_stats":null,"previous_names":["guessi/kubectl-search"],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/guessi/kubectl-grep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Fkubectl-grep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Fkubectl-grep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Fkubectl-grep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Fkubectl-grep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guessi","download_url":"https://codeload.github.com/guessi/kubectl-grep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guessi%2Fkubectl-grep/sbom","scorecard":{"id":448229,"data":{"date":"2025-08-11","repo":{"name":"github.com/guessi/kubectl-grep","commit":"5dbc09e789a2f57352fcc4746be9165876de948c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"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/go.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.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":"Maintained","score":10,"reason":"18 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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:17: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/guessi/kubectl-grep/stale.yml/main?enable=pin","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"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":"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":"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":"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":"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.25.0 not signed: https://api.github.com/repos/guessi/kubectl-grep/releases/238785680","Warn: release artifact v1.24.0 not signed: https://api.github.com/repos/guessi/kubectl-grep/releases/228515077","Warn: release artifact v1.23.0 not signed: https://api.github.com/repos/guessi/kubectl-grep/releases/222289152","Warn: release artifact v1.22.0 not signed: https://api.github.com/repos/guessi/kubectl-grep/releases/220366429","Warn: release artifact v1.21.0 not signed: https://api.github.com/repos/guessi/kubectl-grep/releases/212364838","Warn: release artifact v1.25.0 does not have provenance: https://api.github.com/repos/guessi/kubectl-grep/releases/238785680","Warn: release artifact v1.24.0 does not have provenance: https://api.github.com/repos/guessi/kubectl-grep/releases/228515077","Warn: release artifact v1.23.0 does not have provenance: https://api.github.com/repos/guessi/kubectl-grep/releases/222289152","Warn: release artifact v1.22.0 does not have provenance: https://api.github.com/repos/guessi/kubectl-grep/releases/220366429","Warn: release artifact v1.21.0 does not have provenance: https://api.github.com/repos/guessi/kubectl-grep/releases/212364838"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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"}}]},"last_synced_at":"2025-08-19T07:27:20.976Z","repository_id":43612695,"created_at":"2025-08-19T07:27:20.976Z","updated_at":"2025-08-19T07:27:20.976Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31875183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github-actions","golang","kubectl","kubectl-plugins","kubernetes"],"created_at":"2024-08-01T06:00:46.066Z","updated_at":"2026-04-16T07:01:39.689Z","avatar_url":"https://github.com/guessi.png","language":"Go","funding_links":[],"categories":["kubectl Plugins","Go"],"sub_categories":["Installing plugins via awesome-kubectl-plugins"],"readme":"# Kubectl Grep\n\n[![GitHub Actions](https://github.com/guessi/kubectl-grep/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/guessi/kubectl-grep/actions/workflows/go.yml)\n[![GoDoc](https://godoc.org/github.com/guessi/kubectl-grep?status.svg)](https://godoc.org/github.com/guessi/kubectl-grep)\n[![Go Report Card](https://goreportcard.com/badge/github.com/guessi/kubectl-grep)](https://goreportcard.com/report/github.com/guessi/kubectl-grep)\n[![GitHub release](https://img.shields.io/github/release/guessi/kubectl-grep.svg)](https://github.com/guessi/kubectl-grep/releases/latest)\n[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/guessi/kubectl-grep)](https://github.com/guessi/kubectl-grep/blob/main/go.mod)\n\nFilter Kubernetes resources by matching their names\n\n## 🤔 Why we need this? what it is trying to resolve?\n\nPlaying with Kubernetes in our daily job, we normally search pods by `pipe`, `grep`, `--label`, `--field-selector`, etc. while hunting abnormal pods, but typing such long commands is quite annoying. With plugin installed, it could be easily be done by `kubectl grep`.\n\n## 🔢 Prerequisites\n\n* An existing Kubernetes cluster.\n* Have [kubectl](https://kubernetes.io/docs/tasks/tools/) installed.\n* Have [krew](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) installed.\n\n## 🚀 Quick start\n\n```bash\n# Have krew plugin installed\nkubectl krew install grep\n```\n\n```bash\n# Before change, we usually filter pods by the following commands,\nkubectl get pods -n star-lab | grep \"flash\"\n```\n\n```bash\n# With this plugin installed, you can filter pod easily\nkubectl grep pods -n star-lab flash\n```\n\n## :accessibility: FAQ\n\nHow do I check the version installed?\n\n* `kubectl grep version`\n\nHow do I know the version installed is compatible with my cluster version?\n\n* Ideally, it should be compatible with [supported Kubernetes versions](https://kubernetes.io/releases/).\n\nWhat kind of resource(s) `kubectl-grep` support?\n\n* Please refer to [Resource Types](RESOURCE_TYPES.md)\n\n## 👷 Install\n\n### Recommended way\n\nBrand new install\n\n```bash\nkubectl krew update \u0026\u0026 kubectl krew install grep\n```\n\nTo upgrade version\n\n```bash\nkubectl krew update \u0026\u0026 kubectl krew upgrade grep\n```\n\n### Manual Installation\n\n\u003cdetails\u003e\u003c!-- markdownlint-disable-line --\u003e\n\u003csummary\u003eClick to expand!\u003c/summary\u003e\u003c!-- markdownlint-disable-line --\u003e\n\n```bash\ncurl -fsSL -O https://github.com/guessi/kubectl-grep/releases/latest/download/kubectl-grep-$(uname -s)-$(uname -m).tar.gz\ntar zxvf kubectl-grep-$(uname -s)-$(uname -m).tar.gz\nmv kubectl-grep /usr/local/bin\n```\n\n\u003c/details\u003e\n\n### Developer build\n\n\u003cdetails\u003e\u003c!-- markdownlint-disable-line --\u003e\n\u003csummary\u003eClick to expand!\u003c/summary\u003e\u003c!-- markdownlint-disable-line --\u003e\n\n```bash\ngo get -u github.com/guessi/kubectl-grep\ncd ${GOPATH}/src/github.com/guessi/kubectl-grep\nmake all\n```\n\n\u003c/details\u003e\n\n## ⚖️ License\n\n[Apache-2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguessi%2Fkubectl-grep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguessi%2Fkubectl-grep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguessi%2Fkubectl-grep/lists"}