Reports
One of the core missions of regis is to bridge the gap between automated tools and human review through Visual Excellence. Reports display the results of rule evaluation and the overall score.
The Reporting Engine
The Regis core CLI produces two report artifacts:
report.json— the source of truth. A machine-readable document containing all analysis and evaluation data, perfect for automated processing and as the contract every downstream tool consumes.report.html— a self-contained, single-file HTML report. Fully portable: open it in any browser or ship it as a CI/CD artifact, no server or base URL configuration required.
The following diagram illustrates the relationship between the CLI and the generated reports:
This architecture allows for:
- A Stable Contract:
report.jsonis a documented, machine-readable contract every downstream tool can rely on. - Self-Contained Portability:
report.htmlis a single file, ready to be served from any static host or viewed as a CI/CD artifact. - Rich, Navigable Views:
report.htmloffers filterable, drill-down views per analyzer — no server or external service required.
Philosophy: Visual Excellence
We believe that security reports should be easy to read and aesthetically pleasing. A well-designed report:
- Reduces Cognitive Load: Highlighting the most important issues first through clear categorization and visual cues.
- Encourages Adoption: Teams are more likely to engage with security when given clear, actionable, and professional feedback.
- Facilitates Decision Making: Using color-coded risk levels and intuitive navigation to distinguish between minor warnings and critical blockers.
Hybrid Reporting
regis follows a "hybrid" reporting strategy:
- JSON Report: The source of truth. A machine-readable document containing all analysis and evaluation data, perfect for automated processing.
- HTML Report: A human-friendly, self-contained single-file report that consumes the same data.
# Generate both report.json and a self-contained report.html
regis analyze <image-url> --html