Move the Healthchecks API key out of source code
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
Start by reading internal/status/status.go to trace how the Healthchecks API key is used when fetching cluster status. Define the credential source and missing-credential behavior, then verify that no key remains in source, the committed key is rotated, and CI includes lightweight secret scanning.
索引モデルが issue の本文から書いたものです。
説明
Problem
internal/status/status.go sets the Healthchecks API key directly in code when fetching cluster status.
For a public CLI repo, embedding service credentials in source makes key rotation harder and exposes access to anyone with the repository. Even if the current key is read-only or intentionally scoped, it should be treated as leaked once committed.
Suggested fix
- Revoke/rotate the committed Healthchecks API key.
- Load the key from an environment variable, config file, or backend endpoint instead of hardcoding it in the CLI.
- Make the CLI fail with a clear message when status data requires credentials that are not configured.
- Add a lightweight secret scanning check in CI.
Relevant file
internal/status/status.go
- 主要言語
- Go
- スター
- 0
- フォーク
- 1
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WATonomous/watcloud-cli のほかの issue
-
[#13.2] slurm run: --batch mode対応中かも @GavinDPinto が 9 日前に担当しました。 オープン
WATonomous/watcloud-cli#31 · 担当者 1 名 ·
-
[#13.1] slurm run: interactive jobs対応中かも @GavinDPinto が 9 日前に担当しました。 オープン
WATonomous/watcloud-cli#30 · 担当者 1 名 ·
-
Release watcloud-cli v1.5 and deploy it through infra-config対応中かも @Ixe9230 が 4 日前に担当しました。 オープンgood first issue
難易度 4/5 1〜2日 初心者へのやさしさ 28/100
WATonomous/watcloud-cli#28 · 担当者 1 名 ·
-
[#14] Show GPU usage against what the job requested対応中かも @carols12352 が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
WATonomous/watcloud-cli#23 · コメント 2 件 · 担当者 1 名 ·
-
[#13] Add a command that builds the job request対応中かも @GavinDPinto が 9 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WATonomous/watcloud-cli#22 · 担当者 1 名 ·
WATonomous/watcloud-cli の issue をすべて見る
似ている issue
-
perf(translator): Claude→Responses stream re-validates the whole request body on every SSE chunkオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
router-for-me/CLIProxyAPI#6665 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
superplanehq/superplane#8557 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
copilot-api domain:platform go
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
docs: clarify gh api -f vs -F and @-file expansion in the gh skill対応中かも @MatiasOlivera が今日担当しました。 オープンenhancement
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信