PackageIssueResponse

data class PackageIssueResponse(val affectedCpeUri: String, val affectedPackage: String, val affectedVersion: VersionResponse, val effectiveSeverity: String, val fileLocation: List<GrafeasV1FileLocationResponse>, val fixAvailable: Boolean, val fixedCpeUri: String, val fixedPackage: String, val fixedVersion: VersionResponse, val packageType: String)

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

Constructors

Link copied to clipboard
constructor(affectedCpeUri: String, affectedPackage: String, affectedVersion: VersionResponse, effectiveSeverity: String, fileLocation: List<GrafeasV1FileLocationResponse>, fixAvailable: Boolean, fixedCpeUri: String, fixedPackage: String, fixedVersion: VersionResponse, packageType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The CPE URI this vulnerability was found in.

Link copied to clipboard

The package this vulnerability was found in.

Link copied to clipboard

The version of the package that is installed on the resource affected by this vulnerability.

Link copied to clipboard

The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.

Link copied to clipboard

The location at which this package was found.

Link copied to clipboard

Whether a fix is available for this package.

Link copied to clipboard

The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.

Link copied to clipboard

The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.

Link copied to clipboard

The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.

Link copied to clipboard

The type of package (e.g. OS, MAVEN, GO).