Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
i18n failure is an issue on |
There was a problem hiding this comment.
Pull request overview
Adds CVSSv4 support across vulnerability creation/details UIs and audit/reporting views, enabling users to view, calculate, filter, and chart vulnerabilities using CVSSv4 in addition to existing CVSSv2/v3 data.
Changes:
- Add a CVSSv4 calculator tab to vulnerability create and vulnerability details modals.
- Prefer CVSSv4 scores in multiple views (vulnerability details, EPSS tables, EPSS-vs-CVSS chart) and add CVSSv4 score columns/filters to global audit views.
- Add new i18n keys for CVSSv4 (English populated; other locales set to
nullfor fallback).
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| src/views/portfolio/vulnerabilities/VulnerabilityDetailsModal.vue | Adds CVSSv4 calculator UI, parsing/generation, and score retrieval/display in the details modal. |
| src/views/portfolio/vulnerabilities/VulnerabilityCreateVulnerabilityModal.vue | Adds CVSSv4 calculator UI and vector generation to the “Create Vulnerability” modal. |
| src/views/portfolio/vulnerabilities/Vulnerability.vue | Prefers CVSSv4 score for base score display and hides subscore blocks when zero. |
| src/views/portfolio/projects/ProjectEpss.vue | Prefers CVSSv4 when formatting CVSS scores in the EPSS table. |
| src/views/portfolio/projects/FindingAudit.vue | Displays CVSSv4 vector when present in finding audit details. |
| src/views/portfolio/projects/ComponentVulnerabilities.vue | Prefers CVSSv4 when formatting CVSS scores in component vulnerability tables. |
| src/views/globalAudit/VulnerabilityAuditGroupedByVulnerability.vue | Adds CVSSv4 filter inputs, watchers, query params, and a CVSSv4 score column. |
| src/views/globalAudit/VulnerabilityAuditByOccurrence.vue | Adds CVSSv4 filter inputs, watchers, query params, and a CVSSv4 score column. |
| src/views/dashboard/ChartEpssVsCvss.vue | Prefers CVSSv4 score when plotting EPSS vs CVSS scatter data. |
| src/i18n/locales/en.json | Adds English strings for new CVSSv4-related i18n keys. |
| src/i18n/locales/zh.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/zh-TW.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/uk-UA.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/ru.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/pt.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/pt-BR.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/pl.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/ja.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/it.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/hi.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/fr.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/es.json | Adds CVSSv4-related i18n keys (fallback via null). |
| src/i18n/locales/de.json | Adds CVSSv4-related i18n keys (fallback via null). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/views/portfolio/vulnerabilities/VulnerabilityDetailsModal.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/views/portfolio/vulnerabilities/VulnerabilityCreateVulnerabilityModal.vue
Show resolved
Hide resolved
Signed-off-by: nscuro <[email protected]>
Description
Adds CVSSv4 support:
Addressed Issue
Relates to DependencyTrack/dependency-track#4707
Additional Details
API server PR: DependencyTrack/dependency-track#5863
i18n keys for locales other than English are populated with
nullvalues. They will fall back to English if another locale is selected.Checklist
This PR introduces new or alters existing behavior, and I have updated the documentation accordingly