PackageIssueResponse class

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

Constructors

PackageIssueResponse({required Input<String> affectedCpeUri, required Input<String> affectedPackage, required Input<VersionResponse> affectedVersion, required Input<String> effectiveSeverity, required Input<List<GrafeasV1FileLocationResponse>> fileLocation, required Input<bool> fixAvailable, required Input<String> fixedCpeUri, required Input<String> fixedPackage, required Input<VersionResponse> fixedVersion, required Input<String> packageType})
Creates a new PackageIssueResponse. 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. effectiveSeverity The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. fileLocation The location at which this package was found. fixAvailable Whether a fix is available for this package. 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
PackageIssueResponse.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<VersionResponse>
The version of the package that is installed on the resource affected by this vulnerability.
final
effectiveSeverity → Input<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.
final
fileLocation → Input<List<GrafeasV1FileLocationResponse>>
The location at which this package was found.
final
fixAvailable → Input<bool>
Whether a fix is available for this package.
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<VersionResponse>
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