OWASP / OWASP/cve-lite-cli

feat: unify JSON output format between --json flag and HTML report's report.json

Open
#237 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
715
Forks
145
Avg merge
21h 39m
Merged PRs (30d)
66

Description

The HTML report writes a report.json alongside index.html using the internal ReportData shape, while --json outputs a different structure derived directly from findings. These two formats should be identical so tooling built on one works with the other.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the --json output entry point and the HTML report code that writes report.json, then compare the two data shapes. Align the outputs so both formats are identical, and verify that the CLI JSON and HTML report JSON contain the same structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.