public static interface VulnerabilityOccurrence.PackageIssueOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAffectedCpeUri()
Required.
|
ByteString |
getAffectedCpeUriBytes()
Required.
|
String |
getAffectedPackage()
Required.
|
ByteString |
getAffectedPackageBytes()
Required.
|
Version |
getAffectedVersion()
Required.
|
VersionOrBuilder |
getAffectedVersionOrBuilder()
Required.
|
boolean |
getFixAvailable()
Output only.
|
String |
getFixedCpeUri()
The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability
was fixed in.
|
ByteString |
getFixedCpeUriBytes()
The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability
was fixed in.
|
String |
getFixedPackage()
The package this vulnerability was fixed in.
|
ByteString |
getFixedPackageBytes()
The package this vulnerability was fixed in.
|
Version |
getFixedVersion()
Required.
|
VersionOrBuilder |
getFixedVersionOrBuilder()
Required.
|
boolean |
hasAffectedVersion()
Required.
|
boolean |
hasFixedVersion()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedString getAffectedCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;ByteString getAffectedCpeUriBytes()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;String getAffectedPackage()
Required. The package this vulnerability was found in.
string affected_package = 2;ByteString getAffectedPackageBytes()
Required. The package this vulnerability was found in.
string affected_package = 2;boolean hasAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;Version getAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;VersionOrBuilder getAffectedVersionOrBuilder()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;String getFixedCpeUri()
The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;ByteString getFixedCpeUriBytes()
The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;String getFixedPackage()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;ByteString getFixedPackageBytes()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;boolean hasFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;Version getFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;VersionOrBuilder getFixedVersionOrBuilder()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;boolean getFixAvailable()
Output only. Whether a fix is available for this package.
bool fix_available = 7;Copyright © 2019 Google LLC. All rights reserved.