Interface VulnerabilityReport.Vulnerability.DetailsOrBuilder (2.45.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

getReferencesCount()

public abstract int getReferencesCount()

Corresponds to the references attached to the VulnerabilityDetails.

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

Returns
Type Description
int

getReferencesList()

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

Corresponds to the references attached to the VulnerabilityDetails.

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

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

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

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>

getSeverity()

public abstract String getSeverity()

Assigned severity/impact ranking from the distro.

string severity = 4;

Returns
Type Description
String

The severity.

getSeverityBytes()

public abstract ByteString getSeverityBytes()

Assigned severity/impact ranking from the distro.

string severity = 4;

Returns
Type Description
ByteString

The bytes for severity.

hasCvssV3()

public abstract boolean hasCvssV3()

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

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

Returns
Type Description
boolean

Whether the cvssV3 field is set.