-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Starkit HTML Report RFC
Introduction
Starkit currently supports stdout and JSON reports for infrastructure analysis results. This RFC proposes adding HTML report generation capabilities to provide a more interactive and user-friendly way to view and analyze results. HTML reports will enable better visualization, filtering, and navigation of infrastructure assessment data.
Features
Core Reporting Features
- Display comprehensive stdout features:
- IAC/Runtime Cloud configurations
- Services inventory and status
- Instance details and metrics
- Security controls and their status
Interactive Features
-
Grouping capabilities:
- By criticality level (default view)
- By service name
- By cloud provider
- By resource type
-
Sorting and filtering:
- Ascending/descending sort on all columns
- Quick filters for status (pass/fail/warning)
- Search functionality across all fields
Data Visualization (stretch goal)
- Summary dashboards:
- Overall score
- Distribution by service
- Distribution by criticality
Technical Requirements
Implementation
-
Single File Distribution:
- Self-contained HTML file with no external dependencies
- All assets (CSS, JS, images) bundled inline
- Base64 encoded images where necessary
- Minified and optimized bundle
-
Build Process:
- ESBuild for JavaScript bundling and minification
- PostCSS for CSS processing and optimization
- HTML template with injection points for bundled assets
- Source maps for debugging (optional, configurable)
-
Template format:
- The template should have just 1 injection point for JSON payload, it should use that and build the report
Future Considerations
- Export capabilities to other formats (PDF, Excel)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels