VulnerabilityResponse class

Vulnerability provides metadata about a security vulnerability in a Note.

Constructors

VulnerabilityResponse({required Input<double> cvssScore, required Input<CVSSResponseContaineranalysisV1beta1> cvssV2, required Input<CVSSv3ResponseContaineranalysisV1beta1> cvssV3, required Input<String> cvssVersion, required Input<List<String>> cwe, required Input<List<DetailResponseContaineranalysisV1beta1>> details, required Input<String> severity, required Input<String> sourceUpdateTime, 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.
const
VulnerabilityResponse.fromMap(Map<String, dynamic> map)
factory

Properties

cvssScore → Input<double>
The CVSS score for this vulnerability.
final
cvssV2 → Input<CVSSResponseContaineranalysisV1beta1>
The full description of the CVSS for version 2.
final
cvssV3 → Input<CVSSv3ResponseContaineranalysisV1beta1>
The full description of the CVSS for version 3.
final
cvssVersion → Input<String>
CVSS version used to populate cvss_score and severity.
final
cwe → Input<List<String>>
A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
final
details → Input<List<DetailResponseContaineranalysisV1beta1>>
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Input<String>
Note provider assigned impact of the vulnerability.
final
sourceUpdateTime → Input<String>
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.
final
windowsDetails → Input<List<WindowsDetailResponseContaineranalysisV1beta1>>
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited