feat: flag unattached Elastic IPs

オープン 初心者向け
#158 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, rust
領域
backend, cloud

調査の方向性

docs/recipes/README.md と docs/recipes/add-a-finding.md を読み、issue #157 がマージされるまで待ちます。src/app/findings.rs で ec2_stopped_instances_unused に沿って eip_unattached ルールを追加し、IPv4 の時間単価を src/aws/pricing.rs で確認します。モデルの述語と、検出時および検出されない場合のユニットテストを追加し、docs/findings-roadmap.md を更新して、minor changeset を追加します。記載されたチェックが通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

size: XS

Why

The classic waste finding.

Follow docs/recipes/add-a-finding.md.

Steps

  1. Predicate: no association ID.
  2. Rule eip_unattached (Waste, Medium). If the price book has an IPv4 hourly price, attach a cost with with_cost; look at how ec2_stopped_instances_unused does it. If not, leave cost as None and say so in the PR.
  3. Tests.

Where to look

  • src/app/findings.rs
  • src/aws/pricing.rs

Done when

  • Predicate on the model with unit tests (one firing case, one quiet case)
  • Rule added to FINDING_RULES with tests in src/app/findings.rs
  • docs/findings-roadmap.md lists the rule under Current Findings
  • Changeset added (minor)
  • cargo fmt --all, cargo clippy --all-targets -- -D warnings, and cargo test --all pass, with output pasted in the PR

Check against AWS

Optional. Unit tests are enough for this issue.

Blocked by

#157. Start this after that is merged.

Size: XS. Read docs/recipes/README.md before starting.

主要言語
Rust
スター
2
フォーク
0
平均マージ
4時間 8分
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fells-code/seamless-glance のほかの issue

fells-code/seamless-glance の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。