How advens-gmbh/scan-insights-for-nessus works
Scan Insights for Nessus is a desktop viewer for Nessus scan files. Users open one or more scans, which the Rust backend parses and keeps in memory; the React pages query that backend to explore findings, hosts, services and dashboard summaries. The same scan data supports topology and attack-path inspection, cross-scan comparison, trends, projects and export. Settings, recent-file lists and project metadata are persisted separately. The graph reflects README-documented capabilities where implementation excerpts were unavailable; links between unsampled subsystems are omitted rather than inferred.
Main entry points: App.tsx App router · query.ts Query bridge · commands.rs Desktop commands · Services.tsx Service view
Components 26
Scan ingestion
- Open scans
src/stores/scanStore.ts - Nessus parser
src-tauri/src/parser.rs - In-memory scans
src-tauri/src/state.rs - Scan models
src-tauri/src/models.rs
Scan exploration
- Dashboard
src/pages/Dashboard.tsx - Vulnerability view
src/pages/Vulnerabilities.tsx - Host view
src/pages/Hosts.tsx - Service view
src/pages/Services.tsx - Finding details
src/panels/VulnDetail.tsx - Service grouping
src/utils/serviceGroups.ts
Scan analysis
- Topology analysis
src/utils/topology.ts - Topology panel
src/components/topology/TopologyPanel.tsx - Scan comparison
src/pages/Compare.tsx - Trend analysis
src/pages/Trends.tsx - Projects
src/pages/Projects.tsx - Export
src/pages/Export.tsx
Desktop services
- App router
src/App.tsx - Query bridge
src/data/query.ts - Desktop commands
src-tauri/src/commands.rs - Backend API
src-tauri/src/api.rs - Scan queries
src-tauri/src/queries.rs - Export backend
src-tauri/src/export.rs - Settings and UI state
src/stores/uiStore.ts - Project state
src/stores/projectStore.ts
Other components
- Analyst
- Browser
Connections 35
- Analyst → Open scans: selects scans
src/stores/scanStore.ts - Open scans → Desktop commands: loads files
src/stores/scanStore.ts - Desktop commands → Nessus parser: parses scans
- Nessus parser → Scan models: builds records
src-tauri/src/parser.rs - Nessus parser → In-memory scans: loads scans
- App router → Dashboard: routes to
src/App.tsx - App router → Vulnerability view: routes to
src/App.tsx - App router → Host view: routes to
src/App.tsx - App router → Service view: routes to
src/App.tsx - App router → Topology panel: routes to
src/App.tsx - App router → Scan comparison: routes to
src/App.tsx - App router → Trend analysis: routes to
src/App.tsx - App router → Projects: routes to
src/App.tsx - App router → Export: routes to
src/App.tsx - App router → Settings and UI state: loads settings
src/App.tsx - App router → Project state: loads projects
src/App.tsx - Query bridge → In-memory scans: queries backend
- Query bridge → Scan queries: invokes commands
src/data/query.ts - Scan queries → In-memory scans: reads scans
- Desktop commands → In-memory scans: manages scans
- Desktop commands → Backend API: dispatches commands
- Dashboard → Query bridge: requests summaries
- Vulnerability view → Query bridge: requests findings
- Host view → Query bridge: requests hosts
- Service view → Query bridge: requests services
src/pages/Services.tsx - Service view → Service grouping: groups ports
src/pages/Services.tsx - Service view → Finding details: opens finding
- Topology panel → Topology analysis: builds topology
src/components/topology/TopologyPanel.tsx - Topology panel → Settings and UI state: uses UI state
src/components/topology/TopologyPanel.tsx - Scan comparison → Query bridge: requests comparison
src/pages/Compare.tsx - Trend analysis → Query bridge: requests trend data
- Export → Export backend: exports scans
- Projects → Project state: manages projects
- Settings and UI state → Desktop commands: persists settings
src/stores/uiStore.ts - Analyst → Browser: opens references
README.md