ReportGen is an automated letter generation tool designed for compliance and regulatory environments. It streamlines the creation of compliance-related documents while ensuring accuracy and adherence to regulations.
ReportGen is hosted at reportgen.straive.app. It offers:
- VAPT Test Report Generation: Generate a Vulnerability Assessment and Penetration Testing (VAPT) report from pre-loaded data.
- Custom Report Generation: Upload your own VAPT Excel report for analysis.
- Visit reportgen.straive.app
- Log in to LLM Foundry if prompted
- Choose one of the following options:
- Click "Generate" under "VAPT test" to use pre-loaded data
- Click "Upload your Excel file here" under "Custom Report" to use your own data
- View the generated report, including:
- Executive Summary
- Security and Threat Prevention analysis
- Network Utilization charts
- AI-generated recommendations
- Interactive charts for bandwidth and session usage
- AI-powered recommendations based on report data
- Responsive design for various screen sizes
- Dark mode toggle
index.html
: Main HTML filescript.js
: Core JavaScript functionalityimg/
: Directory for images used in the report
To add a new demo:
- Update the
#demos
section inindex.html
- Create a new Excel file (e.g.,
new-demo.xlsx
) with the required data structure:- Include a "Summary" sheet with key-value pairs
- Add additional sheets for specific data sections
- Update the
vaptReport
function inscript.js
to handle the new data structure if needed - Modify the chart generation code if the new demo requires different visualizations
- HTML5, CSS3 (Bootstrap 5.3.3)
- JavaScript (ES6+)
- lit-html for templating
- Chart.js for data visualization
- XLSX library for Excel file parsing
- Marked for Markdown parsing
- LLM Foundry API for AI-generated recommendations
- Clone the repository
- Serve the project using a local web server (e.g.,
python -m http.server
) - Open
http://localhost:8000
in your browser
The project uses the LLM Foundry API for generating recommendations. Ensure you have the necessary credentials and update the token retrieval logic in script.js
if needed.
- Modify the
vaptReport
function inscript.js
to change the report structure - Update styles in
index.html
to customize the appearance - Adjust chart configurations in
script.js
for different visualizations