Detail constructor

const Detail({
  1. required Input<String> affectedCpeUri,
  2. required Input<String> affectedPackage,
  3. Input<Version>? affectedVersionEnd,
  4. Input<Version>? affectedVersionStart,
  5. Input<String>? description,
  6. Input<String>? fixedCpeUri,
  7. Input<String>? fixedPackage,
  8. Input<Version>? fixedVersion,
  9. Input<bool>? isObsolete,
  10. Input<String>? packageType,
  11. Input<String>? severityName,
  12. Input<String>? source,
  13. Input<String>? sourceUpdateTime,
  14. Input<String>? vendor,
})

Creates a new Detail. 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.

Implementation

const Detail({
  required this.affectedCpeUri,
  required this.affectedPackage,
  this.affectedVersionEnd,
  this.affectedVersionStart,
  this.description,
  this.fixedCpeUri,
  this.fixedPackage,
  this.fixedVersion,
  this.isObsolete,
  this.packageType,
  this.severityName,
  this.source,
  this.sourceUpdateTime,
  this.vendor,
});