PackageIssue constructor

const PackageIssue({
  1. required Input<String> affectedCpeUri,
  2. required Input<String> affectedPackage,
  3. required Input<Version> affectedVersion,
  4. Input<List<GrafeasV1FileLocation>>? fileLocation,
  5. Input<String>? fixedCpeUri,
  6. Input<String>? fixedPackage,
  7. required Input<Version> fixedVersion,
  8. 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).

Implementation

const PackageIssue({
  required this.affectedCpeUri,
  required this.affectedPackage,
  required this.affectedVersion,
  this.fileLocation,
  this.fixedCpeUri,
  this.fixedPackage,
  required this.fixedVersion,
  this.packageType,
});