PackageIssueResponse constructor
- required Input<
String> affectedCpeUri, - required Input<
String> affectedPackage, - required Input<
VersionResponse> affectedVersion, - required Input<
String> effectiveSeverity, - required Input<
List< fileLocation,GrafeasV1FileLocationResponse> > - 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).
Implementation
const PackageIssueResponse({
required this.affectedCpeUri,
required this.affectedPackage,
required this.affectedVersion,
required this.effectiveSeverity,
required this.fileLocation,
required this.fixAvailable,
required this.fixedCpeUri,
required this.fixedPackage,
required this.fixedVersion,
required this.packageType,
});