github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/format/spdxjson/test-fixtures/snapshot/TestSPDX22JSONRequredProperties.golden (about)

     1  {
     2   "spdxVersion": "SPDX-2.2",
     3   "dataLicense": "CC0-1.0",
     4   "SPDXID": "SPDXRef-DOCUMENT",
     5   "name": "unknown",
     6   "documentNamespace":"redacted",
     7   "creationInfo": {
     8    "licenseListVersion":"redacted",
     9    "creators": [
    10     "Organization: Anchore, Inc",
    11     "Tool: -"
    12    ],
    13    "created":"redacted"
    14   },
    15   "packages": [
    16    {
    17     "SPDXID": "SPDXRef-Package-files-analyzed-false-7d37ba9d2f7c574b",
    18     "copyrightText": "NOASSERTION",
    19     "downloadLocation": "NOASSERTION",
    20     "filesAnalyzed": false,
    21     "licenseConcluded": "NOASSERTION",
    22     "licenseDeclared": "NOASSERTION",
    23     "name": "files-analyzed-false",
    24     "sourceInfo": "acquired package info from the following paths: ",
    25     "supplier": "NOASSERTION",
    26     "versionInfo": "v2"
    27    },
    28    {
    29     "name": "files-analyzed-true",
    30     "SPDXID": "SPDXRef-Package-files-analyzed-true-035066c2086b8bb4",
    31     "versionInfo": "v1",
    32     "supplier": "NOASSERTION",
    33     "downloadLocation": "NOASSERTION",
    34     "filesAnalyzed": true,
    35     "packageVerificationCode": {
    36      "packageVerificationCodeValue": "6fe0c471faaaa544e33cae0918eabcdc1c798d18"
    37     },
    38     "checksums": [
    39      {
    40       "algorithm": "SHA256",
    41       "checksumValue": "a9b87321a9879c79d87987987a97c97b9789ce978dffea987"
    42      }
    43     ],
    44     "sourceInfo": "acquired package info from the following paths: /some/file",
    45     "licenseConcluded": "NOASSERTION",
    46     "licenseDeclared": "NOASSERTION",
    47     "copyrightText": "NOASSERTION"
    48    },
    49    {
    50     "SPDXID": "SPDXRef-DocumentRoot-Unknown-",
    51     "copyrightText": "",
    52     "downloadLocation": "NOASSERTION",
    53     "filesAnalyzed": false,
    54     "licenseConcluded": "NOASSERTION",
    55     "licenseDeclared": "NOASSERTION",
    56     "name": "",
    57     "supplier": "NOASSERTION"
    58    }
    59   ],
    60   "files": [
    61    {
    62     "fileName": "/some/file",
    63     "SPDXID": "SPDXRef-File-some-file-2c5bc344430decac",
    64     "checksums": [
    65      {
    66       "algorithm": "SHA1",
    67       "checksumValue": "3b4ab96c371d913e2a88c269844b6c5fb5cbe761"
    68      }
    69     ],
    70     "licenseConcluded": "NOASSERTION",
    71     "licenseInfoInFiles": [
    72      "NOASSERTION"
    73     ],
    74     "copyrightText": "",
    75     "comment": "layerID: ac897d978b6c38749a1"
    76    }
    77   ],
    78   "relationships": [
    79    {
    80     "spdxElementId": "SPDXRef-Package-files-analyzed-true-035066c2086b8bb4",
    81     "relatedSpdxElement": "SPDXRef-File-some-file-2c5bc344430decac",
    82     "relationshipType": "CONTAINS"
    83    },
    84    {
    85     "spdxElementId": "SPDXRef-DocumentRoot-Unknown-",
    86     "relatedSpdxElement": "SPDXRef-Package-files-analyzed-false-7d37ba9d2f7c574b",
    87     "relationshipType": "CONTAINS"
    88    },
    89    {
    90     "spdxElementId": "SPDXRef-DocumentRoot-Unknown-",
    91     "relatedSpdxElement": "SPDXRef-Package-files-analyzed-true-035066c2086b8bb4",
    92     "relationshipType": "CONTAINS"
    93    },
    94    {
    95     "spdxElementId": "SPDXRef-DOCUMENT",
    96     "relatedSpdxElement": "SPDXRef-DocumentRoot-Unknown-",
    97     "relationshipType": "DESCRIBES"
    98    }
    99   ]
   100  }