Interface VulnerabilityReport.Vulnerability.DetailsOrBuilder (2.44.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
Type Description
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
Type Description
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
Type Description
float

The cvssV2Score.

getCvssV3()

public abstract CVSSv3 getCvssV3()

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

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

Returns
Type Description
CVSSv3

The cvssV3.

getCvssV3OrBuilder()

public abstract CVSSv3OrBuilder getCvssV3OrBuilder()

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

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

Returns
Type Description
CVSSv3OrBuilder

getDescription()

public abstract String getDescription()

The note or description describing the vulnerability from the distro.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The note or description describing the vulnerability from the distro.

string description = 5;

Returns
Type Description
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.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference

get