VulnerabilityResponse constructor

const VulnerabilityResponse({
  1. required Input<double> cvssScore,
  2. required Input<CVSSResponseContaineranalysisV1beta1> cvssV2,
  3. required Input<CVSSv3ResponseContaineranalysisV1beta1> cvssV3,
  4. required Input<String> cvssVersion,
  5. required Input<List<String>> cwe,
  6. required Input<List<DetailResponseContaineranalysisV1beta1>> details,
  7. required Input<String> severity,
  8. required Input<String> sourceUpdateTime,
  9. required Input<List<WindowsDetailResponseContaineranalysisV1beta1>> windowsDetails,
})

Creates a new VulnerabilityResponse. cvssScore The CVSS score for this vulnerability. cvssV2 The full description of the CVSS for version 2. cvssV3 The full description of the CVSS for version 3. 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. 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. windowsDetails Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

Implementation

const VulnerabilityResponse({
  required this.cvssScore,
  required this.cvssV2,
  required this.cvssV3,
  required this.cvssVersion,
  required this.cwe,
  required this.details,
  required this.severity,
  required this.sourceUpdateTime,
  required this.windowsDetails,
});