mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 08:26:38 +01:00
* normalize the json image/dir source Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * update json image presenter golden file Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
{
|
|
"artifacts": [
|
|
{
|
|
"name": "package-1",
|
|
"version": "1.0.1",
|
|
"type": "deb",
|
|
"foundBy": [
|
|
"the-cataloger-1"
|
|
],
|
|
"locations": [
|
|
{
|
|
"path": "/somefile-1.txt",
|
|
"layerIndex": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "package-2",
|
|
"version": "2.0.1",
|
|
"type": "deb",
|
|
"foundBy": [
|
|
"the-cataloger-2"
|
|
],
|
|
"locations": [
|
|
{
|
|
"path": "/somefile-2.txt",
|
|
"layerIndex": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "image",
|
|
"target": {
|
|
"layers": [
|
|
{
|
|
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
|
|
"digest": "sha256:e158b57d6f5a96ef5fd22f2fe76c70b5ba6ff5b2619f9d83125b2aad0492ac7b",
|
|
"size": 22
|
|
},
|
|
{
|
|
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
|
|
"digest": "sha256:da21056e7bf4308ecea0c0836848a7fe92f38fdcf35bc09ee6d98e7ab7beeebf",
|
|
"size": 16
|
|
},
|
|
{
|
|
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
|
|
"digest": "sha256:f0e18aa6032c24659a9c741fc36ca56f589782ea132061ccf6f52b952403da94",
|
|
"size": 27
|
|
}
|
|
],
|
|
"size": 65,
|
|
"digest": "sha256:2731251dc34951c0e50fcc643b4c5f74922dad1a5d98f302b504cf46cd5d9368",
|
|
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
|
|
"tags": [
|
|
"stereoscope-fixture-image-simple:04e16e44161c8888a1a963720fd0443cbf7eef8101434c431de8725cd98cc9f7"
|
|
]
|
|
}
|
|
}
|
|
}
|