github.com/devseccon/trivy@v0.47.1-0.20231123133102-bd902a0bd996/pkg/sbom/spdx/testdata/happy/with-hasfiles-bom.json (about)

     1  {
     2    "SPDXID": "SPDXRef-DOCUMENT",
     3    "creationInfo": {
     4      "created": "2023-05-31T04:56:43Z",
     5      "creators": [
     6        "Tool: trivy-dev",
     7        "Organization: aquasecurity"
     8      ]
     9    },
    10    "dataLicense": "CC0-1.0",
    11    "documentDescribes": [
    12      "SPDXRef-Filesystem-13b142ca391a006e"
    13    ],
    14    "documentNamespace": "http://aquasecurity.github.io/trivy/filesystem/app-ab9e166e-7229-4d03-947e-8ffc9c60cf6f",
    15    "files": [
    16      {
    17        "SPDXID": "SPDXRef-File-51bb5f929ef68877",
    18        "checksums": [
    19          {
    20            "algorithm": "SHA1",
    21            "checksumValue": "69e70ec702f9df4ff64024b5fdea4644f1ce6c97"
    22          }
    23        ],
    24        "fileName": "node_modules/yargs-parser/package.json"
    25      }
    26    ],
    27    "name": "app",
    28    "packages": [
    29      {
    30        "SPDXID": "SPDXRef-Application-24f8a80152e2c0fc",
    31        "downloadLocation": "NONE",
    32        "filesAnalyzed": false,
    33        "name": "node-pkg",
    34        "sourceInfo": "Node.js"
    35      },
    36      {
    37        "SPDXID": "SPDXRef-Filesystem-13b142ca391a006e",
    38        "attributionTexts": [
    39          "SchemaVersion: 2"
    40        ],
    41        "downloadLocation": "NONE",
    42        "filesAnalyzed": false,
    43        "name": "app"
    44      },
    45      {
    46        "SPDXID": "SPDXRef-Package-c3508825bf3861d8",
    47        "attributionTexts": [
    48          "PkgID: yargs-parser@21.1.1"
    49        ],
    50        "downloadLocation": "NONE",
    51        "externalRefs": [
    52          {
    53            "referenceCategory": "PACKAGE-MANAGER",
    54            "referenceLocator": "pkg:npm/yargs-parser@21.1.1",
    55            "referenceType": "purl"
    56          }
    57        ],
    58        "filesAnalyzed": false,
    59        "hasFiles": [
    60          "SPDXRef-File-51bb5f929ef68877"
    61        ],
    62        "licenseConcluded": "ISC",
    63        "licenseDeclared": "ISC",
    64        "name": "yargs-parser",
    65        "versionInfo": "21.1.1"
    66      }
    67    ],
    68    "relationships": [
    69      {
    70        "relatedSpdxElement": "SPDXRef-Filesystem-13b142ca391a006e",
    71        "relationshipType": "DESCRIBES",
    72        "spdxElementId": "SPDXRef-DOCUMENT"
    73      },
    74      {
    75        "relatedSpdxElement": "SPDXRef-Application-24f8a80152e2c0fc",
    76        "relationshipType": "CONTAINS",
    77        "spdxElementId": "SPDXRef-Filesystem-13b142ca391a006e"
    78      },
    79      {
    80        "relatedSpdxElement": "SPDXRef-Package-c3508825bf3861d8",
    81        "relationshipType": "CONTAINS",
    82        "spdxElementId": "SPDXRef-Application-24f8a80152e2c0fc"
    83      }
    84    ],
    85    "spdxVersion": "SPDX-2.2"
    86  }