feat: flag SES identities with failing DKIM and paused sending

Aperta
#144 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
aws, rust

Direzione di ricerca

This depends on #143 being merged first. Read docs/recipes/README.md and docs/recipes/add-a-finding.md, then inspect src/app/findings.rs and the SES identity and account models to locate the predicate entry points. Add both rules and their firing and quiet unit tests, list them in docs/findings-roadmap.md, and add a minor changeset; done when the listed Rust formatting, clippy, and test commands pass.

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

Descrizione

size: S

Why

Turns the SES view into incidents: users not getting sign-in email is a product outage.

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

Steps

  1. Rule ses_dkim_not_verified (Incident, High): a domain identity whose DKIM status is not SUCCESS.
  2. Rule ses_sending_paused (Incident, High): the account's sending is disabled. This is an aggregate finding (use Rule::aggregate).
  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

#143. Start this after that is merged.

Size: S. 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.