feat: flag resources missing the application tag

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

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

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

評価

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

調査の方向性

issue では src/app/findings.rs、resources_missing_owner_tag とそのテストが示されています。まず docs/recipes/README.md と finding の追加手順を読み、次にブロッカー #163 がマージ済みか確認してください。アプリケーションタグの述語とルールを追加し、ロードマップと changeset を更新してください。指定されたユニットテストと、Rust のフォーマット、clippy、テストの全コマンドが成功すれば完了です。

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

説明

size: XS

Why

An untagged resource is invisible to every cost and grouping tool. This mirrors the existing owner-tag rule.

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

Steps

  1. Copy resources_missing_owner_tag in src/app/findings.rs and its tests, using the configured application tag key.
  2. Rule resources_missing_application_tag (Hygiene, Medium). A resource whose tags could not be read must not be reported (the owner rule already handles this; keep that behavior).
  3. Tests.

Where to look

  • src/app/findings.rs (resources_missing_owner_tag)

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

#163. 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 を短くまとめたダイジェスト。