mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Modify CVSS3 column for cve datagrid (#16298)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
2275c6e969
commit
45d9ece105
@ -65,7 +65,11 @@
|
||||
<span *ngSwitchCase="'None'" class="label label-none no-border">{{severityText(res.severity) | translate}}</span>
|
||||
<span *ngSwitchDefault>{{severityText(res.severity) | translate}}</span>
|
||||
</clr-dg-cell>
|
||||
<clr-dg-cell>{{res.preferred_cvss?.score_v3}}</clr-dg-cell>
|
||||
<clr-dg-cell>
|
||||
<div class="clr-row mr-1" *ngFor="let item of res?.vendor_attributes?.CVSS | keyvalue">
|
||||
<div class="clr-col">{{item?.key}}:</div><div class="clr-col">{{item?.value?.V3Score}}</div>
|
||||
</div>
|
||||
</clr-dg-cell>
|
||||
<clr-dg-cell>{{res.package}}</clr-dg-cell>
|
||||
<clr-dg-cell>{{res.version}}</clr-dg-cell>
|
||||
<clr-dg-cell>
|
||||
|
@ -250,6 +250,9 @@ export interface VulnerabilityItem extends VulnerabilityBase {
|
||||
layer?: string;
|
||||
description?: string;
|
||||
preferred_cvss?: {[key: string]: string | number};
|
||||
vendor_attributes?: {
|
||||
CVSS?: {[key: string]: any};
|
||||
};
|
||||
}
|
||||
|
||||
export interface VulnerabilitySummary {
|
||||
|
Loading…
Reference in New Issue
Block a user