feat: add a WAF web ACLs view

Aperta
#127 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
aws, rust
Ambito
cli, cloud

Direzione di ricerca

The issue names docs/recipes/add-a-service.md and points to docs/recipes/README.md; read those first, then follow the existing service patterns to locate the relevant AWS integration and command palette entry points. The work is blocked by #122, so start after it merges. Done means the WAF view supports listing, details, pivots, tags, and failure status, with the listed tests, docs, changeset, and Rust checks completed.

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

Descrizione

size: M

Why

The shared ALB is protected by one WAFv2 web ACL (geo allow-list, managed rule sets, rate limit). Glance should show which ACLs exist and what each protects.

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

Steps

  1. Follow docs/recipes/add-a-service.md. New crate aws-sdk-wafv2.
  2. Fetch with list_web_acls using scope REGIONAL, then list_resources_for_web_acl per ACL (resource type APPLICATION_LOAD_BALANCER).
  3. Model WebAclInfo: name, ID, ARN, rule count (from get_web_acl), associated resource ARNs, tags via list_tags_for_resource.
  4. Console: https://console.aws.amazon.com/wafv2/homev2/web-acl/<name>/<id>/overview?region=<region>. CLI: aws wafv2 get-web-acl --scope REGIONAL --name <name> --id <id> --region <region>.
  5. Palette entry waf with alias web-acl.

Where to look

  • docs/recipes/add-a-service.md

Done when

  • WAF view reachable from the command palette
  • Rows carry tags: Tags
  • Describe, console pivot, and CLI pivot work on the selected row
  • A denied or failed fetch shows a status, not an empty table
  • Unit tests for the model helpers and the DescribableResource URLs and CLI command
  • README, docs/architecture.md, docs/aws-service-roadmap.md, and AGENTS.md updated
  • 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.

Out of scope

CloudFront-scoped ACLs (scope CLOUDFRONT). Those come with the CloudFront view.

Blocked by

#122. Start this after that is merged.

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