{"id":13644455,"url":"https://github.com/knight42/kubectl-blame","last_synced_at":"2026-02-14T10:07:14.366Z","repository":{"id":37760724,"uuid":"309426352","full_name":"knight42/kubectl-blame","owner":"knight42","description":"Show who edited resource fields.","archived":false,"fork":false,"pushed_at":"2026-02-09T04:21:39.000Z","size":176,"stargazers_count":149,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-09T10:53:11.904Z","etag":null,"topics":["kubectl","kubectl-plugin"],"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/knight42.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-02T16:18:22.000Z","updated_at":"2026-02-09T04:21:42.000Z","dependencies_parsed_at":"2022-09-09T00:21:19.962Z","dependency_job_id":"dbff29fb-6f58-4bf6-a7af-a8a1f46e6540","html_url":"https://github.com/knight42/kubectl-blame","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/knight42/kubectl-blame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knight42%2Fkubectl-blame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knight42%2Fkubectl-blame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knight42%2Fkubectl-blame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knight42%2Fkubectl-blame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knight42","download_url":"https://codeload.github.com/knight42/kubectl-blame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knight42%2Fkubectl-blame/sbom","scorecard":{"id":564513,"data":{"date":"2025-08-11","repo":{"name":"github.com/knight42/kubectl-blame","commit":"b18cddd9ac38014525835a33e08d66e3d18c0f6c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/13 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":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","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/build.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":"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/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/knight42/kubectl-blame/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/knight42/kubectl-blame/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/knight42/kubectl-blame/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/knight42/kubectl-blame/build.yml/main?enable=pin","Info:   0 out of   2 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":"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: 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":"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.12 not signed: https://api.github.com/repos/knight42/kubectl-blame/releases/151659218","Warn: release artifact v0.0.11 not signed: https://api.github.com/repos/knight42/kubectl-blame/releases/101132141","Warn: release artifact v0.0.10 not signed: https://api.github.com/repos/knight42/kubectl-blame/releases/92865954","Warn: release artifact v0.0.9 not signed: https://api.github.com/repos/knight42/kubectl-blame/releases/82874610","Warn: release artifact v0.0.8 not signed: https://api.github.com/repos/knight42/kubectl-blame/releases/53576274","Warn: release artifact v0.0.12 does not have provenance: https://api.github.com/repos/knight42/kubectl-blame/releases/151659218","Warn: release artifact v0.0.11 does not have provenance: https://api.github.com/repos/knight42/kubectl-blame/releases/101132141","Warn: release artifact v0.0.10 does not have provenance: https://api.github.com/repos/knight42/kubectl-blame/releases/92865954","Warn: release artifact v0.0.9 does not have provenance: https://api.github.com/repos/knight42/kubectl-blame/releases/82874610","Warn: release artifact v0.0.8 does not have provenance: https://api.github.com/repos/knight42/kubectl-blame/releases/53576274"],"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yml:9"],"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":"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 27 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-20T14:36:53.289Z","repository_id":37760724,"created_at":"2025-08-20T14:36:53.289Z","updated_at":"2025-08-20T14:36:53.289Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29442348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"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":["kubectl","kubectl-plugin"],"created_at":"2024-08-02T01:02:05.326Z","updated_at":"2026-02-14T10:07:14.344Z","avatar_url":"https://github.com/knight42.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"kubectl-blame: git-like blame for kubectl\n======\n\n![GitHub](https://img.shields.io/github/license/knight42/kubectl-blame)\n![](https://github.com/knight42/kubectl-blame/actions/workflows/build.yml/badge.svg)\n![GitHub last commit](https://img.shields.io/github/last-commit/knight42/kubectl-blame)\n\nAnnotate each line in the given resource's YAML with information from the managedFields\nto show who last modified the field.\n\nAs long as the field `.metadata.manageFields` of the resource is set properly, this command\nis able to display the manager of each field.\n\n`kubectl-blame` can work in two ways:\n\n1. **Directly from the cluster** — fetch and blame resources in one step:\n   ```\n   kubectl blame deployments my-app\n   ```\n2. **From piped input** — use `kubectl get` (or any command that outputs YAML/JSON) and pipe the result:\n   ```\n   kubectl get deployments -o yaml | kubectl blame\n   ```\n   This also works with Kubernetes List objects (e.g., `kind: List`), so you can pipe the output of `kubectl get` which wraps multiple resources in a List.\n\n[![asciicast](https://asciinema.org/a/375008.svg)](https://asciinema.org/a/375008)\n\n## Installing\n\n| Distribution                           | Command / Link                                                         |\n|----------------------------------------|------------------------------------------------------------------------|\n| [Krew](https://krew.sigs.k8s.io/)      | `kubectl krew install blame`                                           |\n| Pre-built binaries for macOS, Linux    | [GitHub releases](https://github.com/knight42/kubectl-blame/releases)  |\n\n## Usage\n\n```\n# Blame pod 'foo' in default namespace\nkubectl blame pods foo\n\n# Blame deployment 'foo' and 'bar' in 'ns1' namespace\nkubectl blame -n ns1 deploy foo bar\n\n# Blame deployment 'bar' in 'ns1' namespace and hide the update time\nkubectl blame -n ns1 --time none deploy bar\n\n# Blame resources in file 'pod.yaml'(will access remote server)\nkubectl blame -f pod.yaml\n\n# Blame deployment saved in local file 'deployment.yaml'(will NOT access remote server)\nkubectl blame -i deployment.yaml\n# Or pipe from stdin (auto-detected)\ncat deployment.yaml | kubectl blame\n```\n\n### Flags\n\n| flag               | default    | description                                                              |\n|--------------------|------------|--------------------------------------------------------------------------|\n| `--time`           | `relative` | Time format. One of: `full`, `relative`, `none`.                         |\n| `--color`          | `auto`     | Color output. One of: `auto`, `always`, `never`.                         |\n| `--filename`, `-f` |            | Filename identifying the resource to get from a server.                  |\n| `--input`, `-i`    | `auto`     | Read object from the given file. When set to `auto`, automatically read from stdin if piped. Use `-` to force reading from stdin. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknight42%2Fkubectl-blame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknight42%2Fkubectl-blame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknight42%2Fkubectl-blame/lists"}