github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/format/syftjson/test-fixtures/snapshot/TestDirectoryEncoder.golden (about) 1 { 2 "artifacts": [ 3 { 4 "id": "fb6bef15e281ea43", 5 "name": "package-1", 6 "version": "1.0.1", 7 "type": "python", 8 "foundBy": "the-cataloger-1", 9 "locations": [ 10 { 11 "path": "/some/path/pkg1", 12 "accessPath": "/some/path/pkg1" 13 } 14 ], 15 "licenses": [ 16 { 17 "value": "MIT", 18 "spdxExpression": "MIT", 19 "type": "declared", 20 "urls": [], 21 "locations": [] 22 } 23 ], 24 "language": "python", 25 "cpes": [ 26 { 27 "cpe": "cpe:2.3:*:some:package:2:*:*:*:*:*:*:*" 28 } 29 ], 30 "purl": "a-purl-2", 31 "metadataType": "python-package", 32 "metadata": { 33 "name": "package-1", 34 "version": "1.0.1", 35 "author": "", 36 "authorEmail": "", 37 "platform": "", 38 "files": [ 39 { 40 "path": "/some/path/pkg1/dependencies/foo" 41 } 42 ], 43 "sitePackagesRootPath": "" 44 } 45 }, 46 { 47 "id": "39392bb5e270f669", 48 "name": "package-2", 49 "version": "2.0.1", 50 "type": "deb", 51 "foundBy": "the-cataloger-2", 52 "locations": [ 53 { 54 "path": "/some/path/pkg1", 55 "accessPath": "/some/path/pkg1" 56 } 57 ], 58 "licenses": [], 59 "language": "", 60 "cpes": [ 61 { 62 "cpe": "cpe:2.3:*:some:package:2:*:*:*:*:*:*:*" 63 } 64 ], 65 "purl": "pkg:deb/debian/package-2@2.0.1", 66 "metadataType": "dpkg-db-entry", 67 "metadata": { 68 "package": "package-2", 69 "source": "", 70 "version": "2.0.1", 71 "sourceVersion": "", 72 "architecture": "", 73 "maintainer": "", 74 "installedSize": 0, 75 "files": null 76 } 77 } 78 ], 79 "artifactRelationships": [], 80 "source": { 81 "id": "d1563248892cd59af469f406eee907c76fa4f9041f5410d45b93aef903bc4216", 82 "name": "some/path", 83 "version": "", 84 "type": "directory", 85 "metadata": { 86 "path": "redacted/some/path" 87 } 88 }, 89 "distro": { 90 "prettyName": "debian", 91 "name": "debian", 92 "id": "debian", 93 "idLike": [ 94 "like!" 95 ], 96 "version": "1.2.3", 97 "versionID": "1.2.3" 98 }, 99 "descriptor": { 100 "name": "syft", 101 "version": "v0.42.0-bogus", 102 "configuration": { 103 "config-key": "config-value" 104 } 105 } 106 }