VulnerabilityOccurrence class

An occurrence of a severity vulnerability on a resource.

Constructors

VulnerabilityOccurrence({double? cvssScore, CVSS? cvssV2, String? cvssVersion, CVSS? cvssv3, String? effectiveSeverity, String? extraDetails, bool? fixAvailable, String? longDescription, List<PackageIssue>? packageIssue, List<RelatedUrl>? relatedUrls, String? severity, String? shortDescription, String? type, VexAssessment? vexAssessment})
VulnerabilityOccurrence.fromJson(Map json_)

Properties

cvssScore double?
The CVSS score of this vulnerability.
getter/setter pair
cvssV2 CVSS?
The cvss v2 score for the vulnerability.
getter/setter pair
cvssv3 CVSS?
The cvss v3 score for the vulnerability.
getter/setter pair
cvssVersion String?
CVSS version used to populate cvss_score and severity.
getter/setter pair
effectiveSeverity String?
The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity.
getter/setter pair
extraDetails String?
Occurrence-specific extra details about the vulnerability.
getter/setter pair
fixAvailable bool?
Whether at least one of the affected packages has a fix available.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
longDescription String?
A detailed description of this vulnerability.
getter/setter pair
packageIssue List<PackageIssue>?
The set of affected locations and their fixes (if available) within the associated resource.
getter/setter pair
relatedUrls List<RelatedUrl>?
URLs related to this vulnerability.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
The note provider assigned severity of this vulnerability.
getter/setter pair
shortDescription String?
A one sentence description of this vulnerability.
getter/setter pair
type String?
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
getter/setter pair
vexAssessment VexAssessment?
getter/setter pair

Methods

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

Operators

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