VulnerabilityDetails constructor

const VulnerabilityDetails({
  1. Input<CVSSContaineranalysisV1alpha1>? cvssV2,
  2. Input<CVSSContaineranalysisV1alpha1>? cvssV3,
  3. Input<VulnerabilityDetailsEffectiveSeverity>? effectiveSeverity,
  4. Input<String>? extraDetails,
  5. Input<List<PackageIssueContaineranalysisV1alpha1>>? packageIssue,
  6. Input<String>? type,
  7. Input<VexAssessmentContaineranalysisV1alpha1>? vexAssessment,
})

Creates a new VulnerabilityDetails. cvssV2 The CVSS v2 score of this vulnerability. cvssV3 The CVSS v3 score of this vulnerability. effectiveSeverity The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues. extraDetails Occurrence-specific extra details about the vulnerability. packageIssue The set of affected locations and their fixes (if available) within the associated resource. type The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types. vexAssessment VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.

Implementation

const VulnerabilityDetails({
  this.cvssV2,
  this.cvssV3,
  this.effectiveSeverity,
  this.extraDetails,
  this.packageIssue,
  this.type,
  this.vexAssessment,
});