DetailArgs

data class DetailArgs(val affectedCpeUri: Output<String>, val affectedPackage: Output<String>, val affectedVersionEnd: Output<VersionArgs>? = null, val affectedVersionStart: Output<VersionArgs>? = null, val description: Output<String>? = null, val fixedCpeUri: Output<String>? = null, val fixedPackage: Output<String>? = null, val fixedVersion: Output<VersionArgs>? = null, val isObsolete: Output<Boolean>? = null, val packageType: Output<String>? = null, val severityName: Output<String>? = null, val source: Output<String>? = null, val sourceUpdateTime: Output<String>? = null, val vendor: Output<String>? = null) : ConvertibleToJava<DetailArgs>

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: Output<String>, affectedPackage: Output<String>, affectedVersionEnd: Output<VersionArgs>? = null, affectedVersionStart: Output<VersionArgs>? = null, description: Output<String>? = null, fixedCpeUri: Output<String>? = null, fixedPackage: Output<String>? = null, fixedVersion: Output<VersionArgs>? = null, isObsolete: Output<Boolean>? = null, packageType: Output<String>? = null, severityName: Output<String>? = null, source: Output<String>? = null, sourceUpdateTime: Output<String>? = null, vendor: Output<String>? = null)

Properties

Link copied to clipboard
val affectedCpeUri: Output<String>

The CPE URI this vulnerability affects.

Link copied to clipboard
val affectedPackage: Output<String>

The package this vulnerability affects.

Link copied to clipboard
val affectedVersionEnd: Output<VersionArgs>? = null

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
val affectedVersionStart: Output<VersionArgs>? = null

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
val description: Output<String>? = null

A vendor-specific description of this vulnerability.

Link copied to clipboard
val fixedCpeUri: Output<String>? = null

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
val fixedPackage: Output<String>? = null

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
val fixedVersion: Output<VersionArgs>? = null

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
val isObsolete: Output<Boolean>? = null

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

Link copied to clipboard
val packageType: Output<String>? = null

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

Link copied to clipboard
val severityName: Output<String>? = null

The distro assigned severity of this vulnerability.

Link copied to clipboard
val source: Output<String>? = null

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

Link copied to clipboard
val sourceUpdateTime: Output<String>? = null

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
val vendor: Output<String>? = null

The name of the vendor of the product.

Functions

Link copied to clipboard
open override fun toJava(): DetailArgs