feat: flag internet-facing load balancers with no WAF
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
調査の方向性
Read docs/recipes/README.md and docs/recipes/add-a-finding.md, then inspect src/app/findings.rs and src/models/elb.rs. Follow the a_failed_tag_lookup_is_not_reported_as_unowned pattern and check how WAF fetch status and associated resources are represented. Done means the predicate and rule tests cover the four cases, the roadmap and minor changeset are updated, and the requested Rust checks pass; this issue is blocked by #127.
索引モデルが issue の本文から書いたものです。
説明
Why
Every public Fells endpoint goes through one ALB. If its WAF association is ever dropped, the geo allow-list and rate limit silently stop applying.
Follow docs/recipes/add-a-finding.md.
Steps
- Add the web ACLs to
FindingContext. - Rule
load_balancer_without_waf(Hygiene, High): an application load balancer with schemeinternet-facingwhose ARN is not in any ACL's associated resources. - Only judge when the WAF fetch succeeded. If the WAF status is not OK, the rule must report nothing (see
a_failed_tag_lookup_is_not_reported_as_unownedfor the pattern). - Tests: covered ALB is quiet, uncovered ALB fires, internal ALB is quiet, failed WAF fetch is quiet.
Where to look
src/app/findings.rssrc/models/elb.rs
Done when
- Predicate on the model with unit tests (one firing case, one quiet case)
- Rule added to
FINDING_RULESwith tests insrc/app/findings.rs -
docs/findings-roadmap.mdlists the rule under Current Findings - Changeset added (
minor) -
cargo fmt --all,cargo clippy --all-targets -- -D warnings, andcargo test --allpass, with output pasted in the PR
Check against AWS
Optional. Unit tests are enough for this issue.
Blocked by
#127. Start this after that is merged.
Size: S. Read docs/recipes/README.md before starting.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- 平均マージ
- 4時間 8分
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fells-code/seamless-glance のほかの issue
-
size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fells-code/seamless-glance#166 ·
メンテナーはふだん 1 日以内に返信
-
size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fells-code/seamless-glance#165 ·
メンテナーはふだん 1 日以内に返信
-
size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fells-code/seamless-glance#164 ·
メンテナーはふだん 1 日以内に返信
-
size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fells-code/seamless-glance#162 ·
メンテナーはふだん 1 日以内に返信
-
size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fells-code/seamless-glance#158 ·
メンテナーはふだん 1 日以内に返信
fells-code/seamless-glance の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
n0-computer/iroh#4669 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubys/roundhouse#1950 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
cloudflare/workers-rs#1130 ·
メンテナーはふだん 11 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
vfarcic/dot-agent-deck#2160 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
RustCrypto/utils#1597 ·
メンテナーはふだん 1 日以内に返信