diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index 527fb23f7..19c6ebfdb 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -859,6 +859,7 @@
"team": "Team",
"template": "Template",
"text_search": "Text Search",
+ "time_bom_generated": "BOM Generated",
"title": "Title",
"to": "To",
"total": "Total",
diff --git a/src/views/portfolio/projects/ProjectDashboard.vue b/src/views/portfolio/projects/ProjectDashboard.vue
index 84562a541..7b0aeba47 100644
--- a/src/views/portfolio/projects/ProjectDashboard.vue
+++ b/src/views/portfolio/projects/ProjectDashboard.vue
@@ -15,20 +15,24 @@
{{ $t('message.last_vulnerability_analysis') }}: |
{{ lastVulnAnalysis }} |
-
- {{ $t('message.last_measurement') }}: |
-
- {{ lastMeasurement }}
-
-
-
- |
+ {{ $t('message.time_bom_generated') }}: |
+ {{ timeBomGenerated }} |
+
+
+ {{ $t('message.last_measurement') }}: |
+
+ {{ lastMeasurement }}
+
+
+
+ |
+
@@ -83,8 +87,8 @@
{{
- $t('severity.unassigned')
- }}
{{ currentUnassigned }}
@@ -92,8 +96,8 @@
{{
- $t('message.risk_score')
- }}
{{ currentRiskScore }}
@@ -232,6 +236,7 @@ export default {
suppressed: 0,
lastMeasurement: 'n/a',
lastBomImport: 'n/a',
+ timeBomGenerated: 'n/a',
lastVulnAnalysis: 'n/a',
};
},
@@ -303,6 +308,12 @@ export default {
this.lastBomImport = 'n/a';
}
+ if (newProject && newProject.bomTimestamp !== undefined) {
+ this.timeBomGenerated = common.formatTimestamp(newProject.bomTimestamp, true);
+ } else {
+ this.timeBomGenerated = 'n/a';
+ }
+
if (newProject && newProject.lastVulnerabilityAnalysis) {
this.lastVulnAnalysis = common.formatTimestamp(
newProject.lastVulnerabilityAnalysis,