VulnerabilityTypeResponse class
VulnerabilityType provides metadata about a security vulnerability.
Constructors
-
VulnerabilityTypeResponse({required Input<
double> cvssScore, required Input<CVSSResponseContaineranalysisV1alpha1> cvssV2, required Input<String> cvssVersion, required Input<List< cwe, required Input<String> >List< details, required Input<DetailResponseContaineranalysisV1alpha1> >String> severity}) -
Creates a new VulnerabilityTypeResponse.
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 -
VulnerabilityTypeResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cvssScore
→ Input<
double> -
The CVSS score for this Vulnerability.
final
-
cvssV2
→ Input<
CVSSResponseContaineranalysisV1alpha1> -
The full description of the CVSS for version 2.
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< DetailResponseContaineranalysisV1alpha1> > -
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
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