v1

latestOpenAPI 3.0.12026-08-06151265417.9 KB
Findings - Project

Get project libraries (Dependencies - SCA)

Returns the set of libraries used by a particular project

get/api/v3.0/projects/{projectUuid}/dependencies/libraries

Path parameters

projectUuidstring required

UUID of the project

Query parameters

limitstring

Specifies the maximum number of items to be returned in the response.

cursorstring

Parameter indicates the starting point for retrieving results, the first call doesn't include a cursor parameter in the request, the API response includes the first set of results along with a cursor pointing to the last item retrieved.

Response

OK

additionalDataobject
  • totalItems: The total count of data points returned in an API response.
supportTokenstring

Example response

{
  "additionalData": {
    "totalItems": "422",
    "next": "http://someUrl?cursor=3",
    "cursor": 3
  },
  "supportToken": "1171c60d",
  "response": [
    {
      "uuid": "123e4567-e89b-12d3-a456-426655440000",
      "name": "dbus-1.10.24-13.el7_6.x86_64.rpm",
      "artifactId": "kind-of-6.0.2.tgz",
      "groupId": "kind-of",
      "sha1": "01146b36a6218e64e58f3a8d66de5d7fc6f6d051",
      "description": "Get the native type of a value.",
      "type": "javascript/Node.js",
      "purl": "pkg:maven/commons-beanutils/commons-beanutils@1.8.0?type=jar",
      "licenses": [
        {
          "uuid": "123e4567-e89b-12d3-a456-426655440000",
          "name": "MIT",
          "licenseReferences": [
            {
              "uuid": "123e4567-e89b-12d3-a456-426655440000",
              "type": "ARTIFACT_DESCRIPTOR",
              "liabilityReference": "https://repo.maven.apache.org/maven2/org/jruby/ext/posix/jna-posix/1.0.3/jna-posix-1.0.3.pom",
              "assignedBy": {
                "uuid": "123e4567-e89b-12d3-a456-426655440000",
                "name": "Jon Smith",
                "email": "jon.smith@mail.com",
                "userType": "REGULAR"
              },
              "information": "distribution=repo&remoteUrl=https://repo.maven.apache.org/maven2/org/jruby/ext/posix/jna-posix/1.0.3/jna-posix-1.0.3.pom"
            }
          ]
        }
      ],
      "copyrightReferences": [
        {
          "type": "PROJECT_HOMEPAGE",
          "copyright": "Copyright 2021 x greater by the end of",
          "startYear": "2021",
          "endYear": "2022",
          "author": "x greater by the end of",
          "referenceInfo": "x greater by the end of"
        }
      ],
      "copyrightState": "HAS",
      "noticeReference": {
        "text": "Developed internally",
        "reference": "https://github.com/..."
      },
      "proprietaryInfo": {
        "userInfo": {
          "uuid": "123e4567-e89b-12d3-a456-426655440000",
          "name": "Jon Smith",
          "email": "jon.smith@mail.com",
          "userType": "REGULAR"
        }
      },
      "locations": [
        {
          "localPath": "C:\\\\Users\\\\user\\\\.m2\\\\repository\\\\commons-io-1.4.jar",
          "dependencyFile": "C:\\\\GitHubRepos\\\\Pipline\\\\EUA\\\\plugins-automation\\\\fsa\\\\tests\\\\EUA\\\\Java\\\\bigProjectsMaven\\\\WST_417\\\\Data\\\\ksa\\\\ksa-web-core\\\\pom.xml"
        }
      ],
      "licenseRelationship": "Apache-2.0 AND MIT",
      "violations": 22,
      "workflowUuids": [
        "2"
      ],
      "violatingFindings": 2
    }
  ]
}