Detail class
A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).
Constructors
-
Detail({required Input<
String> affectedCpeUri, required Input<String> affectedPackage, Input<Version> ? affectedVersionEnd, Input<Version> ? affectedVersionStart, Input<String> ? description, Input<String> ? fixedCpeUri, Input<String> ? fixedPackage, Input<Version> ? fixedVersion, Input<bool> ? isObsolete, Input<String> ? packageType, Input<String> ? severityName, Input<String> ? source, Input<String> ? sourceUpdateTime, Input<String> ? vendor}) -
Creates a new Detail.
affectedCpeUriThe CPE URI this vulnerability affects.affectedPackageThe package this vulnerability affects.affectedVersionEndThe 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.8and4.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.affectedVersionStartThe 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.8and4.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.descriptionA vendor-specific description of this vulnerability.fixedCpeUriThe 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.fixedPackageThe 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.fixedVersionThe 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.isObsoleteWhether this detail is obsolete. Occurrences are expected not to point to obsolete details.packageTypeThe type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).severityNameThe distro assigned severity of this vulnerability.sourceThe source from which the information in this Detail was obtained.sourceUpdateTimeThe time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.vendorThe name of the vendor of the product.const -
Detail.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<
Version> ? -
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.8and4.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<
Version> ? -
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.8and4.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<
Version> ? -
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