You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 2026-02-25 |`tools`, `tool`, `patterns`, `pattern` commands + tests (35 new tests, 147 total); `findToolByName` helper added to `utils/formatting.ts`|
58
61
| 2026-03-02 |`issue --ignore`, `pull-request --ignore-issue` / `--ignore-all-false-positives`, `finding --ignore` + tests (17 new tests, 164 total); all use `-R/--ignore-reason` and `-m/--ignore-comment` options |
62
+
| 2026-03-05 | Analysis status in `repository` and `pull-request` About sections using `formatAnalysisStatus()`; `--reanalyze` option for both commands (13 new tests, 185 total) |
63
+
| 2026-03-05 | JSON output filtering with `pickDeep` across all commands: `info`, `repositories`, `repository`, `pull-request`, `issues`, `issue`, `findings`, `finding`, `tools`, `patterns`; documented pattern in `src/commands/CLAUDE.md`|
When `item.cve` is present, fetch CVE data from `https://cveawg.mitre.org/api/cve/{CVE-CODE}` and add it to the output.
62
+
When `item.cve` is present, fetch CVE data from `https://cveawg.mitre.org/api/cve/{CVE-ID}` and display:
54
63
55
-
Use types from `src/utils/cve.ts` to parse the response. Show the enriched CVE information (description, CVSS score, references) after the finding's metadata block.
64
+
- CVE ID as a bold header ("About {cveId}")
65
+
- CVSS score(s) and severity, published/updated dates (from `cveMetadata`)
66
+
- Title (from `containers.cna.title` or first English problem type description)
67
+
- English description (from `containers.cna.descriptions`)
68
+
- Deduplicated references from `cna` and all `adp` containers
56
69
57
-
The output should match the component we have in our UI. Here's the React component code:
For Codacy-source findings, the CVE block is injected between the code context and the pattern documentation. For non-Codacy-source findings, it follows the prose fields.
169
71
170
72
## Tests
171
73
172
-
File: `src/commands/finding.test.ts` — 9 tests.
74
+
File: `src/commands/finding.test.ts` — 14 tests (9 original + 5 for CVE enrichment).
0 commit comments