How kunalborse243-glitch/sentinel-aws works
Sentinel AWS lets users register, connect AWS accounts, launch scans, and review findings, history, metrics, and reports. The React app provides authenticated workflows; its API serves account, scan, and reporting operations, while the scan engine runs service-specific checks and persists results. The README documents capabilities whose route and page implementations are not sampled, so those are represented by their tree paths; only the scan engine’s scanner and database wiring is confirmed in source.
Main entry points: App.tsx React app · app.ts HTTP application · index.ts PostgreSQL · scan-engine.ts Scan engine
Components 22
Web application
- React app
artifacts/sentinel/src/App.tsx - Auth state
artifacts/sentinel/src/lib/auth.tsx - AWS accounts
artifacts/sentinel/src/pages/accounts.tsx - Scan controls
artifacts/sentinel/src/pages/scan.tsx - Findings review
artifacts/sentinel/src/pages/findings.tsx - Dashboard
artifacts/sentinel/src/pages/dashboard.tsx - Scan history
artifacts/sentinel/src/pages/history.tsx - Reports
artifacts/sentinel/src/pages/reports.tsx - Profile
artifacts/sentinel/src/pages/profile.tsx
API service
- HTTP application
artifacts/api-server/src/app.ts - Authentication
artifacts/api-server/src/routes/auth.ts - Account routes
artifacts/api-server/src/routes/accounts.ts - Scan routes
artifacts/api-server/src/routes/scans.ts - Finding routes
artifacts/api-server/src/routes/findings.ts - Dashboard routes
artifacts/api-server/src/routes/dashboard.ts - Report routes
artifacts/api-server/src/routes/reports.ts
Security scanning
- Scan engine
artifacts/api-server/src/lib/scan-engine.ts - AWS checks
artifacts/api-server/src/scanners/index.ts
Data layer
- PostgreSQL
lib/db/src/index.ts - Domain tables
lib/db/src/schema/index.ts
Other components
- Security user
- AWS account
Connections 20
- Security user → React app: uses
- React app → Auth state: provides auth
- React app → AWS accounts: routes to
- React app → Scan controls: routes to
- React app → Findings review: routes to
- React app → Dashboard: routes to
- React app → Scan history: routes to
- React app → Reports: routes to
- React app → Profile: routes to
- HTTP application → Authentication: dispatches
- HTTP application → Account routes: dispatches
- HTTP application → Scan routes: dispatches
- HTTP application → Finding routes: dispatches
- HTTP application → Dashboard routes: dispatches
- HTTP application → Report routes: dispatches
- Authentication → PostgreSQL: reads/writes
- Scan engine → PostgreSQL: reads/writes
- Scan engine → AWS checks: invokes checks
- AWS checks → AWS account: inspects resources
- PostgreSQL → Domain tables: uses tables