{"id":17168113,"url":"https://github.com/mateimicu/kdiscover","last_synced_at":"2026-02-27T02:01:04.932Z","repository":{"id":37074287,"uuid":"249232178","full_name":"mateimicu/kdiscover","owner":"mateimicu","description":"Discover all K8s clusters on AWS, Google, etc ..","archived":false,"fork":false,"pushed_at":"2026-02-18T02:44:28.000Z","size":155686,"stargazers_count":10,"open_issues_count":34,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-18T07:37:05.191Z","etag":null,"topics":["aks","cli","eks","gke","golang","kubeconfig","kubeconfig-manager","kubernetes"],"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/mateimicu.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-03-22T17:08:49.000Z","updated_at":"2024-11-03T07:48:34.000Z","dependencies_parsed_at":"2024-06-20T05:40:32.576Z","dependency_job_id":"c76e7078-5be7-4c39-927d-bc3773210981","html_url":"https://github.com/mateimicu/kdiscover","commit_stats":null,"previous_names":["mateimicu/eks-discover"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mateimicu/kdiscover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateimicu%2Fkdiscover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateimicu%2Fkdiscover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateimicu%2Fkdiscover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateimicu%2Fkdiscover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mateimicu","download_url":"https://codeload.github.com/mateimicu/kdiscover/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateimicu%2Fkdiscover/sbom","scorecard":{"id":623516,"data":{"date":"2025-08-11","repo":{"name":"github.com/mateimicu/kdiscover","commit":"a7526be27087bdce25168ee7fd549ea988fd2111"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 15 changesets","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: topLevel 'contents' permission set to 'write': .github/workflows/auto-merge.yaml:5","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/golang-ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/auto-merge.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/auto-merge.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golang-ci.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/golang-ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/mateimicu/kdiscover/release.yaml/master?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 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":"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: 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.7 not signed: https://api.github.com/repos/mateimicu/kdiscover/releases/122360343","Warn: release artifact v0.1.6 not signed: https://api.github.com/repos/mateimicu/kdiscover/releases/122359495","Warn: release artifact v0.1.5 not signed: https://api.github.com/repos/mateimicu/kdiscover/releases/72276352","Warn: release artifact v0.1.4 not signed: https://api.github.com/repos/mateimicu/kdiscover/releases/68670240","Warn: release artifact v0.1.3 not signed: https://api.github.com/repos/mateimicu/kdiscover/releases/68594756","Warn: release artifact v0.1.7 does not have provenance: https://api.github.com/repos/mateimicu/kdiscover/releases/122360343","Warn: release artifact v0.1.6 does not have provenance: https://api.github.com/repos/mateimicu/kdiscover/releases/122359495","Warn: release artifact v0.1.5 does not have provenance: https://api.github.com/repos/mateimicu/kdiscover/releases/72276352","Warn: release artifact v0.1.4 does not have provenance: https://api.github.com/repos/mateimicu/kdiscover/releases/68670240","Warn: release artifact v0.1.3 does not have provenance: https://api.github.com/repos/mateimicu/kdiscover/releases/68594756"],"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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 30 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":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","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-2024-2611 / GHSA-8r3f-844c-mc37"],"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-21T05:45:35.816Z","repository_id":37074287,"created_at":"2025-08-21T05:45:35.816Z","updated_at":"2025-08-21T05:45:35.816Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29882599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"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":["aks","cli","eks","gke","golang","kubeconfig","kubeconfig-manager","kubernetes"],"created_at":"2024-10-14T23:11:14.156Z","updated_at":"2026-02-27T02:01:04.876Z","avatar_url":"https://github.com/mateimicu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kdiscover\n[![CI](https://github.com/mateimicu/kdiscover/actions/workflows/golang-ci.yaml/badge.svg?branch=master)](https://github.com/mateimicu/kdiscover/actions/workflows/golang-ci.yaml)\n![CodeQL](https://github.com/mateimicu/kdiscover/workflows/CodeQL/badge.svg)\n[![codecov](https://codecov.io/gh/mateimicu/kdiscover/branch/master/graph/badge.svg)](https://codecov.io/gh/mateimicu/kdiscover)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/mateimicu/kdiscover?sort=semver)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/mateimicu/kdiscover)\n![GitHub](https://img.shields.io/github/license/mateimicu/kdiscover)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmateimicu%2Fkdiscover.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmateimicu%2Fkdiscover?ref=badge_shield)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mateimicu/kdiscover)](https://goreportcard.com/report/github.com/mateimicu/kdiscover)\n\n\nKdiscover is a simple utility to list and configure access to all clusters it can find.\nThe basic usecase revolves in having access to a lot of clusters but you still need to discover and export apposite kubeconfig.\n\nCurrently we suport only EKS clusters but there are plans to support othe k8s providers (GKE, AKE, etc ...)\n\n- [kdiscover](#kdiscover)\n  - [Example](#example)\n  - [Demo](#demo)\n  - [Install](#install)\n    - [Krew (Recommended)](#krew-recommended)\n    - [MacOs](#macos)\n    - [Binary](#binary)\n    - [Go](#go)\n  - [Future Plans](#future-plans)\n  - [FAQ](docs/FAQ.md)\n\n\n\u003c!--## Demo--\u003e\n\u003c!--[![asciicast](https://asciinema.org/a/qfxDubtATYtLJ1W1vOK6rBzSE.svg)](https://asciinema.org/a/qfxDubtATYtLJ1W1vOK6rBzSE)--\u003e\n\n## Example\n\n```bash\n~ $ kubectl discover aws list\n┌────────────────────────────────────────────────────────────────────────────────┐\n│     cluster name                  region              status  exported locally │\n├────────────────────────────────────────────────────────────────────────────────┤\n│  1  production-us                 us-east-1           ACTIVE          No       │\n│  2  production-eu                 eu-west-1           ACTIVE          No       │\n│  3  dev-eu                        eu-central-1        ACTIVE          No       │\n│  4  sandbox-eu                    eu-central-1        ACTIVE          No       │\n├────────────────────────────────────────────────────────────────────────────────┤\n│                                   number of clusters  4                        │\n└────────────────────────────────────────────────────────────────────────────────┘\n~ $ kubectl discover aws update\nUpdate all EKS Clusters\nFound 4 clusters remote\nBackup kubeconfig to /Users/tuxy/.kube/config.bak\n~ $ kubectl discover aws list\n┌────────────────────────────────────────────────────────────────────────────────┐\n│     cluster name                  region              status  exported locally │\n├────────────────────────────────────────────────────────────────────────────────┤\n│  1  production-us                 us-east-1           ACTIVE         Yes       │\n│  2  production-eu                 eu-west-1           ACTIVE         Yes       │\n│  3  dev-eu                        eu-central-1        ACTIVE         Yes       │\n│  4  sandbox-eu                    eu-central-1        ACTIVE         Yes       │\n├────────────────────────────────────────────────────────────────────────────────┤\n│                                   number of clusters  4                        │\n└────────────────────────────────────────────────────────────────────────────────┘\n```\n\n\nColumns in the list :\n\n- `cluster name` is the name of the cluster based on the configuration\n- `region` region where the cluster is deployed (it is cloud specific)\n- `status` this is reported by the cloud, if the cluster is up or in another state (modifying, down, creating ... etc)\n- `exported locally` uses an heuristic too see if the local config already has information about this cluster\n\n\n## Install\n\n## Krew (Recommended)\n\nUsing the [Krew](https://krew.sigs.k8s.io/) plugin manager:\n\n```bash\nkubectl krew install discover\n```\nNote that in this context the command will need to invoked using `kubectl discover`.\n\n## macOs\n\nYou can also install a binary release on macOS using [brew](https://brew.sh/):\n\n```bash\nbrew install mateimicu/tap/kdiscover\nbrew upgrade mateimicu/tap/kdiscover\n```\nNote that in this context the executable is name `kdiscover`.\n\n## Binary\n\nYou can download a specific version from the [release page](https://github.com/mateimicu/kdiscover/releases)\n\n## Go\n\n```bash\nGO111MODULE=on go get github.com/mateimicu/kdiscover\n```\n\n# Future Plans\n\n\nDevelopment is tracked in [this board](https://github.com/mateimicu/kdiscover/projects/1) and we also have specific [milestones](https://github.com/mateimicu/kdiscover/milestones?direction=asc\u0026sort=due_date)\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmateimicu%2Fkdiscover.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmateimicu%2Fkdiscover?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateimicu%2Fkdiscover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateimicu%2Fkdiscover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateimicu%2Fkdiscover/lists"}