DetailResponse class

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

Constructors

DetailResponse({required Input<String> affectedCpeUri, required Input<String> affectedPackage, required Input<VersionResponse> affectedVersionEnd, required Input<VersionResponse> affectedVersionStart, required Input<String> description, required Input<String> fixedCpeUri, required Input<String> fixedPackage, required Input<VersionResponse> fixedVersion, required Input<bool> isObsolete, required Input<String> packageType, required Input<String> severityName, required Input<String> source, required Input<String> sourceUpdateTime, required Input<String> vendor})
Creates a new DetailResponse. affectedCpeUri The CPE URI this vulnerability affects. affectedPackage The package this vulnerability affects. affectedVersionEnd 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. affectedVersionStart 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. description A vendor-specific description of this vulnerability. fixedCpeUri 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. fixedPackage 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. fixedVersion 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. isObsolete Whether this detail is obsolete. Occurrences are expected not to point to obsolete details. packageType The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). severityName The distro assigned severity of this vulnerability. source The source from which the information in this Detail was obtained. sourceUpdateTime 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. vendor The name of the vendor of the product.
const
DetailResponse.fromMap(Map<String, dynamic> map)
factory

Properties

affectedCpeUri → Input<String>
The CPE URI this vulnerability affects.
final
affectedPackage → Input<String>
The package this vulnerability affects.
final
affectedVersionEnd → Input<VersionResponse>
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.
final
affectedVersionStart → Input<VersionResponse>
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.
final
description → Input<String>
A vendor-specific description of this vulnerability.
final
fixedCpeUri → Input<String>
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.
final
fixedPackage → Input<String>
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.
final
fixedVersion → Input<VersionResponse>
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.
final
hashCode → int
The hash code for this object.
no setterinherited
isObsolete → Input<bool>
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
final
packageType → Input<String>
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severityName → Input<String>
The distro assigned severity of this vulnerability.
final
source → Input<String>
The source from which the information in this Detail was obtained.
final
sourceUpdateTime → Input<String>
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.
final
vendor → Input<String>
The name of the vendor of the product.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited