feat: flag disabled EventBridge rules and rules with no targets

オープン
#146 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

Read docs/recipes/README.md and follow docs/recipes/add-a-finding.md, then inspect src/app/findings.rs and the EventBridge rule model. Implement and test both findings, including the requirement that the no-target finding applies only to enabled rules. Done means adding both rules to FINDING_RULES, updating docs/findings-roadmap.md, adding a minor changeset, and passing the listed Rust checks; start after #145 is merged.

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

説明

size: S

Why

A disabled rule or a rule with no targets does nothing, and nothing tells you.

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

Steps

  1. Rule eventbridge_rule_disabled (Hygiene, Medium).
  2. Rule eventbridge_rule_no_targets (Hygiene, Medium), only for enabled rules.
  3. Tests for both.

Where to look

  • src/app/findings.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

#145. Start this after that is merged.

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