Skip to main content

Search Packages

POST 

/code/api/v1/vulnerabilities/packages/search

Searching for packages by a given reauestBody.

Request

Body

required
    filter object
    fixableOnly booleanrequired
    include Include (string)[]

    Possible values: [errorCount, fixableErrorCount, file, repository, images]

    limit doublerequired
    offset doublerequired
    q string
    repositories string[]required
    sortBy Sort (string)[]

    Possible values: [errors]

    statuses Status (string)[]

    Possible values: [OPEN, SUPPRESS, PASS]

Responses

search packages

Schema
    hasNext booleanrequired
    packages object[]required
  • Array [
  • errorCount double
    fileMetadataId string
    fileMetadataPath string
    fixableErrorCount double
    images string[]
    isRoot boolean
    licensesMetadata object[]
  • Array [
  • isOsi booleanrequired
    isSpdx booleanrequired
    license stringrequired
  • ]
  • packageId stringrequired
    packageLanguage string
    packageLicenses string[]required
    packageName stringrequired
    packageVersion stringrequired
    repository object
    name string
    owner string
    sourcePackageIds object[]nullable
  • Array [
  • sourcePackageId stringrequired
  • ]
  • ]
Loading...