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({required Input<String> affectedCpeUri, required Input<String> affectedPackage, required Input<Version> affectedVersion, Input<List<GrafeasV1FileLocation>>? fileLocation, Input<String>? fixedCpeUri, Input<String>? fixedPackage, required Input<Version> fixedVersion, Input<String>? packageType})
Creates a new PackageIssue. affectedCpeUri The CPE URI this vulnerability was found in. affectedPackage The package this vulnerability was found in. affectedVersion The version of the package that is installed on the resource affected by this vulnerability. fileLocation The location at which this package was found. fixedCpeUri The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri. fixedPackage The package this vulnerability was fixed in. It is possible for this to be different from the affected_package. fixedVersion The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available. packageType The type of package (e.g. OS, MAVEN, GO).
const
PackageIssue.fromMap(Map<String, dynamic> map)
factory

Properties

affectedCpeUri → Input<String>
The CPE URI this vulnerability was found in.
final
affectedPackage → Input<String>
The package this vulnerability was found in.
final
affectedVersion → Input<Version>
The version of the package that is installed on the resource affected by this vulnerability.
final
fileLocation → Input<List<GrafeasV1FileLocation>>?
The location at which this package was found.
final
fixedCpeUri → Input<String>?
The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
final
fixedPackage → Input<String>?
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
final
fixedVersion → Input<Version>
The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
final
hashCode → int
The hash code for this object.
no setterinherited
packageType → Input<String>?
The type of package (e.g. OS, MAVEN, GO).
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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