Project structure confirmed — Tailwind v4 (Vite plugin), React 19. I'll now install the charting/animation/icon libraries, then build the dashboard.
Packages installed. Now the base files: page title, and the global stylesheet with Tailwind v4 dark-mode variant, fonts (Inter + JetBrains Mono), and base styling.
Foundation set. Now the data layer — deterministic seeded generator producing ~260 realistic findings over 240 days, plus palette constants and all aggregation helpers (KPIs, time series, breakdowns).
Data layer done. Now the Header with the sticky top bar (logo, dark toggle, export) and the hero block that defines the audience and the decision this report supports.
Header created. Now the FilterBar — date-range segmented control plus severity, environment, and status toggle chips with a live match counter and reset.
FilterBar done. Now the KPI card — animated counter, trend indicator vs previous period, and a live sparkline.
Quick fix for the unused variable flagged by lint.
Now a shared chart kit: card wrapper, dark-aware axis defaults, and a styled tooltip used by all three charts.
Chart kit ready. Now the three charts: the discovery-vs-remediation trend (areas + backlog line), the stacked severity-by-environment bar chart, and the status donut.
Minor fix — the donut doesn't need the dark prop.
Now the sortable, searchable, paginated findings table.
Removing the unused import.
Now the main App — wires global filter state, memoized derivations (visible set, segment set, KPIs, series, breakdowns), animated counts, and composes all sections.
All components in place. Building to verify.
Build succeeded. Let me do a quick sanity check on the FindingsTable severity styles helper to make sure there's no leftover dead code.
Everything is verified and the build is clean. Here's a summary of the delivered dashboard:
VAPT Command Center — Vulnerability Assessment & Penetration Test analytics
Report framing (who it's for / what it decides)
- Hero section explicitly states the audience (CISO, VP Security Engineering, IT Risk & Compliance leadership), the decision it supports (prioritize the remediation backlog, scope the next pen-test engagement, hold teams to remediation SLAs), and the engagement scope (asset groups, findings, 240-day history) — all in dedicated cards with Lucide icons.
KPI summary cards with trend indicators
- Open Critical+High backlog, Mean Time to Remediate, Remediation Rate, and Avg CVSS of open backlog — each with an animated count-up number, a color-coded % trend chip vs. the previous period (direction-aware: down is good for backlog/MTTR/risk), and a live sparkline.
Three chart types, all interacting
- Line/Area chart: discovery vs. remediation velocity with a dashed open-backlog overlay (daily buckets, weekly aggregation on long ranges)
- Stacked bar chart: active exposure by environment, segmented by severity
- Donut chart: remediation status mix with center total and a per-status legend with percentages
- All use custom dark-aware tooltips, smooth recharts animations, and empty states.
Sortable & filterable data table
- Search across CVE/title/asset/owner, click-to-sort columns (severity, CVSS, age, ID, status, finding), severity/status pills, CVSS micro-bars, exploit-available indicators, SLA-breach age highlighting, animated row transitions, and pagination.
Live global filters
- 7D / 30D / 90D / Full date-range segmented control (animated pill), plus multi-select Severity, Environment, and Status chips — every KPI, chart, table row, and the "findings live" counter recalculates instantly, with one-click Reset.
Experience details
- Dark mode toggle (persisted, respects
prefers-color-scheme), Inter + JetBrains Mono typography, solid-color palette (no gradients — rose/orange/amber/sky severity scale on a zinc + teal scheme), staggered entrance animations, sticky blurred top bar, working Export (print) action, and a fully responsive layout from mobile to widescreen.
Data: 264 deterministic-but-realistic findings (real CVE names like Log4Shell and Citrix Bleed, plausible assets, owners, CVSS ranges, severity-based remediation timelines with recency bias) generated over 240 days so trends and previous-period comparisons always compute.
Files built: index.html, src/index.css, src/lib/data.ts, src/components/Header.tsx, src/components/FilterBar.tsx, src/components/KpiCard.tsx, src/components/charts/ChartKit.tsx, src/components/charts/TrendChart.tsx, src/components/charts/StatusDonut.tsx, src/components/charts/EnvironmentChart.tsx, src/components/FindingsTable.tsx, src/App.tsx