v1

latestOpenAPI 3.0.12026-08-06151265417.9 KB
Projects

Get project vulnerabilities traces (Dependencies - SCA)

Returns the traces of a given project. Note that this feature requires that Mend Prioritize be enabled in your Mend account.

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

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": [
    {
      "referenceEntityId": "org.springframework.util.StringUtils:cleanPath ()",
      "projectName": "Project A",
      "orgName": "Organization A",
      "traces": [
        {
          "codeInvocations": [
            {
              "methodName": "org.springframework.util.StringUtils:cleanPath",
              "lineNumber": 522,
              "fileName": "org\\springframework\\util\\StringUtils.class"
            }
          ]
        }
      ],
      "applicationName": "Product A",
      "vulnerabilityId": "CVE-2021-42392",
      "libraryUuid": "123e4567-e89b-12d3-a456-426655440000",
      "projectUuid": "123e4567-e89b-12d3-a456-426655440000"
    }
  ]
}