Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
↳ fix_available
bool
Output only. Whether a fix is available for this package.
↳ package_type
string
The type of package (e.g. OS, MAVEN, GO).
↳ effective_severity
int
The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.
Output only. Whether a fix is available for this package.
Returns
Type
Description
bool
setFixAvailable
Output only. Whether a fix is available for this package.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getPackageType
The type of package (e.g. OS, MAVEN, GO).
Returns
Type
Description
string
setPackageType
The type of package (e.g. OS, MAVEN, GO).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEffectiveSeverity
The distro or language system assigned severity for this vulnerability
when that is available and note provider assigned severity when it is not
available.
Returns
Type
Description
int
setEffectiveSeverity
The distro or language system assigned severity for this vulnerability
when that is available and note provider assigned severity when it is not
available.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Grafeas V1 Client - Class PackageIssue (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/grafeas/latest/V1.VulnerabilityOccurrence.PackageIssue)\n- [1.2.1](/php/docs/reference/grafeas/1.2.1/V1.VulnerabilityOccurrence.PackageIssue)\n- [1.1.3](/php/docs/reference/grafeas/1.1.3/V1.VulnerabilityOccurrence.PackageIssue)\n- [1.0.0](/php/docs/reference/grafeas/1.0.0/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.10.3](/php/docs/reference/grafeas/0.10.3/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.9.0](/php/docs/reference/grafeas/0.9.0/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.8.3](/php/docs/reference/grafeas/0.8.3/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.7.1](/php/docs/reference/grafeas/0.7.1/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.6.0](/php/docs/reference/grafeas/0.6.0/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.5.0](/php/docs/reference/grafeas/0.5.0/V1.VulnerabilityOccurrence.PackageIssue)\n- [0.4.4](/php/docs/reference/grafeas/0.4.4/V1.VulnerabilityOccurrence.PackageIssue) \nReference documentation and code samples for the Grafeas V1 Client class PackageIssue.\n\nA detail for a distro and package this vulnerability occurrence was found\nin and its associated fix (if one is available).\n\nGenerated from protobuf message `grafeas.v1.VulnerabilityOccurrence.PackageIssue`\n\nNamespace\n---------\n\nGrafeas \\\\ V1 \\\\ VulnerabilityOccurrence\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAffectedCpeUri\n\nRequired. The [CPE URI](https://cpe.mitre.org/specification/) this\nvulnerability was found in.\n\n### setAffectedCpeUri\n\nRequired. The [CPE URI](https://cpe.mitre.org/specification/) this\nvulnerability was found in.\n\n### getAffectedPackage\n\nRequired. The package this vulnerability was found in.\n\n### setAffectedPackage\n\nRequired. The package this vulnerability was found in.\n\n### getAffectedVersion\n\nRequired. The version of the package that is installed on the resource\naffected by this vulnerability.\n\n### hasAffectedVersion\n\n### clearAffectedVersion\n\n### setAffectedVersion\n\nRequired. The version of the package that is installed on the resource\naffected by this vulnerability.\n\n### getFixedCpeUri\n\nThe [CPE URI](https://cpe.mitre.org/specification/) this vulnerability\nwas fixed in. It is possible for this to be different from the\naffected_cpe_uri.\n\n### setFixedCpeUri\n\nThe [CPE URI](https://cpe.mitre.org/specification/) this vulnerability\nwas fixed in. It is possible for this to be different from the\naffected_cpe_uri.\n\n### getFixedPackage\n\nThe package this vulnerability was fixed in. It is possible for this to\nbe different from the affected_package.\n\n### setFixedPackage\n\nThe package this vulnerability was fixed in. It is possible for this to\nbe different from the affected_package.\n\n### getFixedVersion\n\nRequired. The version of the package this vulnerability was fixed in.\n\nSetting this to VersionKind.MAXIMUM means no fix is yet available.\n\n### hasFixedVersion\n\n### clearFixedVersion\n\n### setFixedVersion\n\nRequired. The version of the package this vulnerability was fixed in.\n\nSetting this to VersionKind.MAXIMUM means no fix is yet available.\n\n### getFixAvailable\n\nOutput only. Whether a fix is available for this package.\n\n### setFixAvailable\n\nOutput only. Whether a fix is available for this package.\n\n### getPackageType\n\nThe type of package (e.g. OS, MAVEN, GO).\n\n### setPackageType\n\nThe type of package (e.g. OS, MAVEN, GO).\n\n### getEffectiveSeverity\n\nThe distro or language system assigned severity for this vulnerability\nwhen that is available and note provider assigned severity when it is not\navailable.\n\n### setEffectiveSeverity\n\nThe distro or language system assigned severity for this vulnerability\nwhen that is available and note provider assigned severity when it is not\navailable.\n\n### getFileLocation\n\nThe location at which this package was found.\n\n### setFileLocation\n\nThe location at which this package was found."]]