Report Genie

Risk Analysis Visualisation Engine
ENGINE ONLINE

This microservice ingests Azure Risk Analysis assessments in raw JSON format and compiles them into professional, elegantly structured executive PDF reports via Puppeteer.

POST
/generate-report-json
Accepts a raw JSON body containing the full Azure Risk Analysis dataset and returns the rendered binary PDF report synchronously.
Request Headers
Content-Type: "application/json"
Payload Example (JSON)
{
  "MetaData": {
    "DisplayName": "Contoso Corp Security Assessment",
    "ProductsAssessed": ["Azure Active Directory"]
  },
  "logoDataUrl": "data:image/png;base64,iVBORw0KG...",
  "ScubaResults": [ /* compliance results array */ ]
}
POST
/generate-report
Accepts standard multipart form-data. Ideal when uploading a JSON report file directly along with an optional custom image file for branding.
Request Headers
Content-Type: "multipart/form-data"
Form-Data Fields
jsonFile: [File (assessment_report.json)] (Required)
logoFile: [File (company_logo.png)] (Optional)
High-Fidelity Visuals
Dynamically renders beautiful compliance scores, executive gauges, and compliance breakdown graphs.
Secure & Isolated
Utilizes secure request validation and isolation parameters for rendering Puppeteer processes.
White-Labeled Reports
Allows injecting custom client logos dynamically on the fly to produce branded PDFs.
Cybersecurity and Infrastructure Security Agency (CISA) Baselines
Specifically tuned layout designed around the official CISA secure configuration baselines.