Skip to content

Slice 1: exploratory raw backbone dump (scan --raw) - #11

Merged
nkcoder merged 4 commits into
mainfrom
slice-1/scan
Jul 11, 2026
Merged

Slice 1: exploratory raw backbone dump (scan --raw)#11
nkcoder merged 4 commits into
mainfrom
slice-1/scan

Conversation

@nkcoder

@nkcoder nkcoder commented Jul 11, 2026

Copy link
Copy Markdown
Owner

First task of Slice 1 (#6).

What

  • internal/awsscan: AWS SDK v2 client via the default credential chain (--profile optional), plus paginated EC2 Describe* collectors for the network backbone (VPC, subnets, route tables, IGW/NAT, ENIs, security groups).
  • scan --raw dumps the raw backbone as indented JSON to stdout so we can design the topology.json schema from real field shapes (the exploratory-first approach).

Not in scope yet

Proof

  • reachr scan --raw --region <r> [--profile <p>] > raw.json against a real VPC.
  • Build/test/lint green; scan without --raw still returns "not implemented".

Part of #6.

nkcoder added 4 commits July 11, 2026 20:12
- internal/awsscan: AWS SDK v2 client (default cred chain) + paginated
  EC2 Describe* collectors for VPC/subnet/route-table/IGW/NAT/ENI/SG
- scan --raw dumps the raw backbone as JSON to inspect real shapes
  before locking the topology.json schema

Part of #6
Applies vpc-id (attachment.vpc-id for IGWs) filters across all backbone
Describe* calls; omitted = whole region.

Part of #6
@nkcoder
nkcoder merged commit dfce620 into main Jul 11, 2026
1 check passed
@nkcoder
nkcoder deleted the slice-1/scan branch July 11, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant