Interface VulnerabilityReport.Vulnerability.DetailsOrBuilder (2.42.0)

public static interface VulnerabilityReport.Vulnerability.DetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCve()

public abstract String getCve()

The CVE of the vulnerability. CVE cannot be empty and the combination of <cve, classification> should be unique across vulnerabilities for a VM.

string cve = 1;

Returns
TypeDescription
String

The cve.

getCveBytes()

public abstract ByteString getCveBytes()

The CVE of the vulnerability. CVE cannot be empty and the combination of <cve, classification> should be unique across vulnerabilities for a VM.

string cve = 1;

Returns
TypeDescription
ByteString

The bytes for cve.

getCvssV2Score()

public abstract float getCvssV2Score()

The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.

float cvss_v2_score = 2;

Returns
TypeDescription
float

The cvssV2Score.

getCvssV3()

public abstract CVSSv3 getCvssV3()

The full description of the CVSSv3 for this vulnerability from NVD.

.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;

Returns
TypeDescription
CVSSv3

The cvssV3.

getCvssV3OrBuilder()

public abstract CVSSv3OrBuilder getCvssV3OrBuilder()

The full description of the CVSSv3 for this vulnerability from NVD.

.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;

Returns
TypeDescription
CVSSv3OrBuilder

getDescription()

public abstract String getDescription()

The note or description describing the vulnerability from the distro.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The note or description describing the vulnerability from the distro.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getReferences(int index)

public abstract VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index)

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

getReferencesCount()

public abstract int getReferencesCount()

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Returns
TypeDescription
int

getReferencesList()

public abstract List<VulnerabilityReport.Vulnerability.Details.Reference> getReferencesList()

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Returns
TypeDescription
List<Reference>

getReferencesOrBuilder(int index)

public abstract VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder(int index)

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder

getReferencesOrBuilderList()

public abstract List<? extends VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> getReferencesOrBuilderList()

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>

getSeverity()

public abstract String getSeverity()

Assigned severity/impact ranking from the distro.

string severity = 4;

Returns
TypeDescription
String

The severity.

getSeverityBytes()

public abstract ByteString getSeverityBytes()

Assigned severity/impact ranking from the distro.

string severity = 4;

Returns
TypeDescription
ByteString

The bytes for severity.

hasCvssV3()

public abstract boolean hasCvssV3()

The full description of the CVSSv3 for this vulnerability from NVD.

.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;

Returns
TypeDescription
boolean

Whether the cvssV3 field is set.