syft/syft/format/github/test-fixtures/snapshot/TestGithubImageEncoder.golden
Christopher Angelo Phillips 8198a706d6
chore: bump packageurl-go with new parsing rules (#3596)
* chore: bump packageurl-go with new parsing rules
* test: update expectedPURL in unit tests to match new % encoding
---------

Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
2025-01-17 16:20:14 -05:00

48 lines
1.1 KiB
Plaintext

{
"version": 0,
"job": {},
"detector": {
"name": "syft",
"url": "https://github.com/anchore/syft",
"version": "v0.42.0-bogus"
},
"metadata": {
"syft:distro": "pkg:generic/debian@1.2.3?like=like%21"
},
"manifests": {
"user-image-input:/somefile-1.txt": {
"name": "user-image-input:/somefile-1.txt",
"file": {
"source_location": "user-image-input:/somefile-1.txt"
},
"metadata": {
"syft:filesystem":"redacted"
},
"resolved": {
"": {
"package_url": "a-purl-1",
"relationship": "direct",
"scope": "runtime"
}
}
},
"user-image-input:/somefile-2.txt": {
"name": "user-image-input:/somefile-2.txt",
"file": {
"source_location": "user-image-input:/somefile-2.txt"
},
"metadata": {
"syft:filesystem":"redacted"
},
"resolved": {
"pkg:deb/debian/package-2@2.0.1": {
"package_url": "pkg:deb/debian/package-2@2.0.1",
"relationship": "direct",
"scope": "runtime"
}
}
}
},
"scanned":"redacted"
}