{"id":13450281,"url":"https://github.com/rancher/cli","last_synced_at":"2026-04-30T21:01:05.840Z","repository":{"id":8853019,"uuid":"59953453","full_name":"rancher/cli","owner":"rancher","description":"Rancher CLI","archived":false,"fork":false,"pushed_at":"2026-04-28T20:25:18.000Z","size":9597,"stargazers_count":385,"open_issues_count":20,"forks_count":171,"subscribers_count":38,"default_branch":"main","last_synced_at":"2026-04-28T22:24:35.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"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/rancher.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":"CODEOWNERS","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":"2016-05-29T16:38:46.000Z","updated_at":"2026-04-28T20:25:24.000Z","dependencies_parsed_at":"2023-01-14T11:50:27.161Z","dependency_job_id":"0ff8d2ec-0378-4397-89eb-e7cb5caf7274","html_url":"https://github.com/rancher/cli","commit_stats":{"total_commits":371,"total_committers":48,"mean_commits":7.729166666666667,"dds":0.8463611859838275,"last_synced_commit":"80d8bdfb11de46005c97112b6744f156868d5fd2"},"previous_names":[],"tags_count":360,"template":false,"template_full_name":null,"purl":"pkg:github/rancher/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rancher","download_url":"https://codeload.github.com/rancher/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fcli/sbom","scorecard":{"id":567827,"data":{"date":"2025-08-11","repo":{"name":"github.com/rancher/cli","commit":"4d57ace593ef3350551c2e2b5cba562785a6a7bf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":8,"reason":"Found 26/30 approved changesets -- score normalized to 8","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":"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":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/fossa.yml:17","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:11","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fossa.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1"],"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":"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: 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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/rancher/.github/SECURITY.md:1","Info: Found linked content: github.com/rancher/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/rancher/.github/SECURITY.md:1","Info: Found text in security policy: github.com/rancher/.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":"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.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fossa.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/fossa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/fossa.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/fossa.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/fossa.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/fossa.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/rancher/cli/release.yml/main?enable=pin","Warn: containerImage not pinned by hash: package/Dockerfile:1: pin your Docker image by updating registry.suse.com/bci/bci-base:15.6 to registry.suse.com/bci/bci-base:15.6@sha256:470a69019fef1ba1acfb2061387adbc2b1002c802177d28a8429fc78f8e4dd2e","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  10 third-party GitHubAction dependencies pinned","Info:   0 out of   1 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.12.0 not signed: https://api.github.com/repos/rancher/cli/releases/236451819","Warn: release artifact v2.11.4 not signed: https://api.github.com/repos/rancher/cli/releases/236451834","Warn: release artifact v2.10.8 not signed: https://api.github.com/repos/rancher/cli/releases/236588009","Warn: release artifact v2.11.4-rc.2 not signed: https://api.github.com/repos/rancher/cli/releases/236281693","Warn: release artifact v2.10.8-rc.2 not signed: https://api.github.com/repos/rancher/cli/releases/236281812","Warn: release artifact v2.12.0 does not have provenance: https://api.github.com/repos/rancher/cli/releases/236451819","Warn: release artifact v2.11.4 does not have provenance: https://api.github.com/repos/rancher/cli/releases/236451834","Warn: release artifact v2.10.8 does not have provenance: https://api.github.com/repos/rancher/cli/releases/236588009","Warn: release artifact v2.11.4-rc.2 does not have provenance: https://api.github.com/repos/rancher/cli/releases/236281693","Warn: release artifact v2.10.8-rc.2 does not have provenance: https://api.github.com/repos/rancher/cli/releases/236281812"],"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 GetBranch(v2.12): error during branchesHandler.query: 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/ci.yml:10"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3521","Warn: Project is vulnerable to: GO-2025-3547"],"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-20T15:27:53.422Z","repository_id":8853019,"created_at":"2025-08-20T15:27:53.422Z","updated_at":"2025-08-20T15:27:53.422Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":[],"created_at":"2024-07-31T07:00:33.273Z","updated_at":"2026-04-30T21:01:05.810Z","avatar_url":"https://github.com/rancher.png","language":"Go","funding_links":[],"categories":["Go","Rancher 1.0","Uncategorized"],"sub_categories":["Tools 1.0","Uncategorized"],"readme":"Rancher CLI\n===========\n\nThe Rancher Command Line Interface (CLI) is a unified tool for interacting with your Rancher Server.\n\nFor usage information see: https://rancher.com/docs/rancher/v2.x/en/cli/\n\n\u003e **Note:** This is for version 2.x.x of the cli, for info on 1.6.x see [here](https://github.com/rancher/cli/tree/v1.6)\n\n## Installing\n\nCheck the [releases page](https://github.com/rancher/cli/releases) for direct downloads of the binary. After you download it, you can add it to your `$PATH` or [build your own from source](#building-from-source).\n\n## Setting up Rancher CLI with a Rancher Server\n\nThe CLI requires your Rancher Server address, along with [credentials for authentication](https://rancher.com/docs/rancher/v2.x/en/user-settings/api-keys/). Rancher CLI pulls this information from a JSON file, `cli2.json`, which is created the first time you run `rancher login`. By default, the path of this file is `~/.rancher/cli2.json`.\n\n```\n$ rancher login https://\u003cRANCHER_SERVER_URL\u003e -t my-secret-token\n```\n\n\u003e **Note:** When entering your `\u003cRANCHER_SERVER_URL\u003e`, include the port that was exposed while you installed Rancher Server.\n\n## Usage\n\nRun `rancher --help` for a list of available commands.\n\n## Building from Source\n\nThe binaries will be located in `/bin`.\n\n### Linux Binary\n\nRun `make build`.\n\n### Mac Binary\n\nRun `CROSS=1 make build`.\n\n## Docker Image\n\nRun `docker run --rm -it -v \u003cPATH_TO_CONFIG\u003e:/home/cli/.rancher/cli2.json rancher/cli2 [ARGS]`.\nPass credentials by replacing `\u003cPATH_TO_CONFIG\u003e` with your config file for the server.\n\nTo build `rancher/cli`, run `make`.  To use a custom Docker repository, do `REPO=custom make`, which produces a `custom/cli` image.\n\n## Contact\n\nFor bugs, questions, comments, corrections, suggestions, etc., open an issue in\n[rancher/rancher](//github.com/rancher/rancher/issues) with a title prefix of `[cli] `.\n\nOr just [click here](//github.com/rancher/rancher/issues/new?title=%5Bcli%5D%20) to create a new issue.\n\n## License\nCopyright (c) 2014-2019 [Rancher Labs, Inc.](http://rancher.com)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Francher%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Francher%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Francher%2Fcli/lists"}