feat: flag ECS services scaled to zero

Aperta
#150 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
aws, rust
Ambito
cloud

Direzione di ricerca

Read docs/recipes/README.md and docs/recipes/add-a-finding.md, then inspect src/app/findings.rs and the model predicate for related rules. Add the zero desired count predicate and ecs_service_scaled_to_zero rule, with firing and quiet unit tests. Update docs/findings-roadmap.md and add a minor changeset; the listed formatting, clippy, and test commands define the checks for done. Start after issue #148 is merged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue size: XS

Why

A service with desired count zero serves nothing but keeps its target group, alarms, and log group. Usually it is either intentionally parked or forgotten.

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

Steps

  1. Predicate: desired is zero.
  2. Rule ecs_service_scaled_to_zero (Waste, Medium).
  3. Tests.

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

#148. Start this after that is merged.

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

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
4h 8m
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fells-code/seamless-glance

Tutte le issue di fells-code/seamless-glance

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.