add image metadata as catalogFromJSON return

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2020-11-17 12:37:12 -05:00
parent 6f7a4fd3e4
commit 91baabe5a1
6 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/anchore/syft/internal/version"
)
// Locations: https://cyclonedx.org/ext/bom-descriptor/
// Source: https://cyclonedx.org/ext/bom-descriptor/
// BomDescriptor represents all metadata surrounding the BOM report (such as when the BOM was made, with which tool, and the item being cataloged).
type BomDescriptor struct {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
)
// Locations: https://github.com/CycloneDX/specification
// Source: https://github.com/CycloneDX/specification
// Document represents a CycloneDX BOM Document.
type Document struct {