PackageIssue class

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

Constructors

PackageIssue({String? affectedCpeUri, String? affectedPackage, Version? affectedVersion, String? effectiveSeverity, List<GrafeasV1FileLocation>? fileLocation, bool? fixAvailable, String? fixedCpeUri, String? fixedPackage, Version? fixedVersion, String? packageType})
PackageIssue.fromJson(Map json_)

Properties

affectedCpeUri String?
The CPE URI this vulnerability was found in.
getter/setter pair
affectedPackage String?
The package this vulnerability was found in.
getter/setter pair
affectedVersion Version?
The version of the package that is installed on the resource affected by this vulnerability.
getter/setter pair
effectiveSeverity String?
The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.
getter/setter pair
fileLocation List<GrafeasV1FileLocation>?
The location at which this package was found.
getter/setter pair
fixAvailable bool?
Whether a fix is available for this package.
getter/setter pair
fixedCpeUri String?
The CPE URI this vulnerability was fixed in.
getter/setter pair
fixedPackage String?
The package this vulnerability was fixed in.
getter/setter pair
fixedVersion Version?
The version of the package this vulnerability was fixed in.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
packageType String?
The type of package (e.g. OS, MAVEN, GO).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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