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< ? fileLocation, Input<GrafeasV1FileLocation> >String> ? fixedCpeUri, Input<String> ? fixedPackage, required Input<Version> fixedVersion, Input<String> ? packageType}) -
Creates a new PackageIssue.
affectedCpeUriThe CPE URI this vulnerability was found in.affectedPackageThe package this vulnerability was found in.affectedVersionThe version of the package that is installed on the resource affected by this vulnerability.fileLocationThe location at which this package was found.fixedCpeUriThe CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.fixedPackageThe package this vulnerability was fixed in. It is possible for this to be different from the affected_package.fixedVersionThe version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.packageTypeThe 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