Goal
Add an HTML report as an output format for ottersight scan.
Context
An HTML report is useful for sharing scan results with non-technical stakeholders or embedding in documentation. The report should be a self-contained HTML file with inline CSS (no external dependencies).
Relevant files
packages/cli/src/renderers/ — existing renderers (terminal table, Markdown)
packages/scanner/src/types.ts — scan result types
Expected interface
ottersight scan . --format html > report.html
Outputs a complete, styled HTML page to stdout with:
- Summary header (total components, total vulns, KEV count)
- Severity-grouped vulnerability tables
- Component list
Getting started
- Read CONTRIBUTING.md for setup instructions
- Look at the existing Markdown renderer for the pattern
- Create a new renderer in
packages/cli/src/renderers/html.ts
- Add tests
Happy to answer questions in the comments!
Goal
Add an HTML report as an output format for
ottersight scan.Context
An HTML report is useful for sharing scan results with non-technical stakeholders or embedding in documentation. The report should be a self-contained HTML file with inline CSS (no external dependencies).
Relevant files
packages/cli/src/renderers/— existing renderers (terminal table, Markdown)packages/scanner/src/types.ts— scan result typesExpected interface
Outputs a complete, styled HTML page to stdout with:
Getting started
packages/cli/src/renderers/html.tsHappy to answer questions in the comments!