DetailResponse

data class DetailResponse(val affectedCpeUri: String, val affectedPackage: String, val affectedVersionEnd: VersionResponse, val affectedVersionStart: VersionResponse, val description: String, val fixedCpeUri: String, val fixedPackage: String, val fixedVersion: VersionResponse, val isObsolete: Boolean, val packageType: String, val severityName: String, val source: String, val sourceUpdateTime: String, val vendor: String)

A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).

Constructors

Link copied to clipboard
constructor(affectedCpeUri: String, affectedPackage: String, affectedVersionEnd: VersionResponse, affectedVersionStart: VersionResponse, description: String, fixedCpeUri: String, fixedPackage: String, fixedVersion: VersionResponse, isObsolete: Boolean, packageType: String, severityName: String, source: String, sourceUpdateTime: String, vendor: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The CPE URI this vulnerability affects.

Link copied to clipboard

The package this vulnerability affects.

Link copied to clipboard

The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: 1.0.0-1.1.0, 2.4.6-2.4.8 and 4.5.6-4.6.8) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

Link copied to clipboard

The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: 1.0.0-1.1.0, 2.4.6-2.4.8 and 4.5.6-4.6.8) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.

Link copied to clipboard

A vendor-specific description of this vulnerability.

Link copied to clipboard

The distro recommended CPE URI to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.

Link copied to clipboard

The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.

Link copied to clipboard

The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.

Link copied to clipboard

Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.

Link copied to clipboard

The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

Link copied to clipboard

The distro assigned severity of this vulnerability.

Link copied to clipboard

The source from which the information in this Detail was obtained.

Link copied to clipboard

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

Link copied to clipboard

The name of the vendor of the product.