VulnerabilityTypeResponse constructor

const VulnerabilityTypeResponse({
  1. required Input<double> cvssScore,
  2. required Input<CVSSResponseContaineranalysisV1alpha1> cvssV2,
  3. required Input<String> cvssVersion,
  4. required Input<List<String>> cwe,
  5. required Input<List<DetailResponseContaineranalysisV1alpha1>> details,
  6. required Input<String> severity,
})

Creates a new VulnerabilityTypeResponse. cvssScore The CVSS score for this Vulnerability. cvssV2 The full description of the CVSS for version 2. cvssVersion CVSS version used to populate cvss_score and severity. cwe A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html details All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in. severity Note provider assigned impact of the vulnerability

Implementation

const VulnerabilityTypeResponse({
  required this.cvssScore,
  required this.cvssV2,
  required this.cvssVersion,
  required this.cwe,
  required this.details,
  required this.severity,
});