VulnerabilityNote constructor
- Input<
double> ? cvssScore, - Input<
CVSS> ? cvssV2, - Input<
CVSSv3> ? cvssV3, - Input<
VulnerabilityNoteCvssVersion> ? cvssVersion, - Input<
List< ? details,Detail> > - Input<
VulnerabilityNoteSeverity> ? severity, - Input<
String> ? sourceUpdateTime, - Input<
List< ? windowsDetails,WindowsDetail> >
Creates a new VulnerabilityNote.
cvssScore The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
cvssV2 The full description of the v2 CVSS for this vulnerability.
cvssV3 The full description of the CVSSv3 for this vulnerability.
cvssVersion CVSS version used to populate cvss_score and severity.
details Details of all known distros and packages affected by this vulnerability.
severity The note provider assigned severity of this 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 VulnerabilityNote({
this.cvssScore,
this.cvssV2,
this.cvssV3,
this.cvssVersion,
this.details,
this.severity,
this.sourceUpdateTime,
this.windowsDetails,
});