diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index ca9a1ed5c..72aaec8d5 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -918,7 +918,8 @@ "weakness": "Weakness", "will_not_fix": "Will not fix", "workaround_available": "Workaround available", - "x_trust_boundary": "Cross Trust Boundary" + "x_trust_boundary": "Cross Trust Boundary", + "priority_score": "Priority Score" }, "operator": { "contains_all": "contains all", diff --git a/src/views/portfolio/projects/ProjectFindings.vue b/src/views/portfolio/projects/ProjectFindings.vue index 604cb8759..09fa2ccb1 100644 --- a/src/views/portfolio/projects/ProjectFindings.vue +++ b/src/views/portfolio/projects/ProjectFindings.vue @@ -306,6 +306,58 @@ export default { } }, }, + { + title: this.$t('message.cvss_v2'), + field: 'vulnerability.cvssV2BaseScore', + sortable: true, + visible: false, + formatter(value, row, index) { + if (typeof value !== 'undefined') { + return xssFilters.inHTMLData(value); + } + }, + }, + { + title: this.$t('message.cvss_v3'), + field: 'vulnerability.cvssV3BaseScore', + visible: false, + sortable: true, + formatter(value, row, index) { + if (typeof value !== 'undefined') { + return xssFilters.inHTMLData(value); + } + }, + }, + { + title: this.$t('message.epss'), + field: 'vulnerability.epssScore', + visible: false, + sortable: true, + formatter(value, row, index) { + if (typeof value !== 'undefined') { + return xssFilters.inHTMLData(value); + } + }, + }, + { + title: this.$t('message.epss_percentile'), + field: 'vulnerability.epssPercentile', + visible: false, + sortable: true, + formatter(value, row, index) { + if (typeof value !== 'undefined') { + return xssFilters.inHTMLData(value); + } + }, + }, + { + title: this.$t('message.priority_score'), + field: 'vulnerability.priorityScore', + sortable: true, + formatter(value, row, index) { + return value; + }, + }, { title: this.$t('message.analyzer'), field: 'attribution.analyzerIdentity',