api: add missing link field in vulnerability in getLayer
This commit is contained in:
parent
6d2eedf121
commit
f40f6a5ab6
@ -71,6 +71,7 @@ func LayerFromDatabaseModel(dbLayer database.Layer, withFeatures, withVulnerabil
|
|||||||
Name: dbVuln.Name,
|
Name: dbVuln.Name,
|
||||||
Namespace: dbVuln.Namespace.Name,
|
Namespace: dbVuln.Namespace.Name,
|
||||||
Description: dbVuln.Description,
|
Description: dbVuln.Description,
|
||||||
|
Link: dbVuln.Link,
|
||||||
Severity: string(dbVuln.Severity),
|
Severity: string(dbVuln.Severity),
|
||||||
Metadata: dbVuln.Metadata,
|
Metadata: dbVuln.Metadata,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user