VulnerabilityType class
VulnerabilityType provides metadata about a security vulnerability.
Constructors
-
VulnerabilityType({Input<
double> ? cvssScore, Input<CVSSContaineranalysisV1alpha1> ? cvssV2, Input<VulnerabilityTypeCvssVersion> ? cvssVersion, Input<List< ? cwe, Input<String> >List< ? details, Input<DetailContaineranalysisV1alpha1> >VulnerabilityTypeSeverity> ? severity}) -
Creates a new VulnerabilityType.
cvssScoreThe CVSS score for this Vulnerability.cvssV2The full description of the CVSS for version 2.cvssVersionCVSS version used to populate cvss_score and severity.cweA list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.htmldetailsAll information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.severityNote provider assigned impact of the vulnerabilityconst -
VulnerabilityType.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cvssScore
→ Input<
double> ? -
The CVSS score for this Vulnerability.
final
-
cvssV2
→ Input<
CVSSContaineranalysisV1alpha1> ? -
The full description of the CVSS for version 2.
final
-
cvssVersion
→ Input<
VulnerabilityTypeCvssVersion> ? -
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< ?DetailContaineranalysisV1alpha1> > -
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<
VulnerabilityTypeSeverity> ? -
Note provider assigned impact of the vulnerability
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