|
52 | 52 | > |
53 | 53 | <button |
54 | 54 | class="dropdown-item" |
55 | | - @click="downloadImageDetailReport" |
| 55 | + @click="downloadFullReport" |
56 | 56 | > |
57 | 57 | <i class="icon icon-download"></i> |
58 | 58 | {{ t('imageScanner.images.downloadImageDetailReport') }} |
@@ -880,7 +880,7 @@ export default { |
880 | 880 | // Generate SBOM download |
881 | 881 | const sbomData = JSON.stringify(this.sbom.spdx, null, 2); |
882 | 882 |
|
883 | | - this.downloadJSON(sbomData, `${ this.imageName }-sbom.json`); |
| 883 | + this.downloadJSON(sbomData, `${ this.imageName }-sbom_${ day(new Date().getTime()).format('MMDDYYYY_HHmmss') }.json`); |
884 | 884 |
|
885 | 885 | this.$store.dispatch('growl/success', { |
886 | 886 | title: 'Success', |
@@ -940,7 +940,7 @@ export default { |
940 | 940 | // Generate JSON vulnerability report |
941 | 941 | const reportData = JSON.stringify(this.vulnerabilityReport.report, null, 2); |
942 | 942 |
|
943 | | - this.downloadJSON(reportData, `${ this.imageName }-vulnerability-report.json`); |
| 943 | + this.downloadJSON(reportData, `${ this.imageName }-vulnerability-report_${ day(new Date().getTime()).format('MMDDYYYY_HHmmss') }.json`); |
944 | 944 |
|
945 | 945 | this.$store.dispatch('growl/success', { |
946 | 946 | title: 'Success', |
@@ -1163,7 +1163,7 @@ export default { |
1163 | 1163 | // Generate CSV from vulnerability report data |
1164 | 1164 | const csvData = this.generateCSVFromVulnerabilityReport(); |
1165 | 1165 |
|
1166 | | - this.downloadCSV(csvData, `${ this.imageName }-full-report_${ day(new Date().getTime()).format('MMDDYYYY_HHmmss') }.csv`); |
| 1166 | + this.downloadCSV(csvData, `${ this.imageName }-image-detail-report_${ day(new Date().getTime()).format('MMDDYYYY_HHmmss') }.csv`); |
1167 | 1167 |
|
1168 | 1168 | this.$store.dispatch('growl/success', { |
1169 | 1169 | title: 'Success', |
@@ -1191,7 +1191,7 @@ export default { |
1191 | 1191 | // Generate CSV from filtered vulnerability data |
1192 | 1192 | const csvData = this.generateCSVFromFilteredVulnerabilities(); |
1193 | 1193 |
|
1194 | | - this.downloadCSV(csvData, `${ this.imageName }-custom-report_${ day(new Date().getTime()).format('MMDDYYYY_HHmmss') }.csv`); |
| 1194 | + this.downloadCSV(csvData, `${ this.imageName }-image-detail-report_${ day(new Date().getTime()).format('MMDDYYYY_HHmmss') }.csv`); |
1195 | 1195 |
|
1196 | 1196 | this.$store.dispatch('growl/success', { |
1197 | 1197 | title: 'Success', |
|
0 commit comments