Interface CveOrBuilder (2.25.0)

public interface CveOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCvssv3()

public abstract Cvssv3 getCvssv3()

Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;

Returns
TypeDescription
Cvssv3

The cvssv3.

getCvssv3OrBuilder()

public abstract Cvssv3OrBuilder getCvssv3OrBuilder()

Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;

Returns
TypeDescription
Cvssv3OrBuilder

getId()

public abstract String getId()

The unique identifier for the vulnerability. e.g. CVE-2021-34527

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The unique identifier for the vulnerability. e.g. CVE-2021-34527

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getReferences(int index)

public abstract Reference getReferences(int index)

Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

repeated .google.cloud.securitycenter.v1.Reference references = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Reference

getReferencesCount()

public abstract int getReferencesCount()

Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

repeated .google.cloud.securitycenter.v1.Reference references = 2;

Returns
TypeDescription
int

getReferencesList()

public abstract List<Reference> getReferencesList()

Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

repeated .google.cloud.securitycenter.v1.Reference references = 2;

Returns
TypeDescription
List<Reference>

getReferencesOrBuilder(int index)

public abstract ReferenceOrBuilder getReferencesOrBuilder(int index)

Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

repeated .google.cloud.securitycenter.v1.Reference references = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceOrBuilder

getReferencesOrBuilderList()

public abstract List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()

Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

repeated .google.cloud.securitycenter.v1.Reference references = 2;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.ReferenceOrBuilder>

getUpstreamFixAvailable()

public abstract boolean getUpstreamFixAvailable()

Whether upstream fix is available for the CVE.

bool upstream_fix_available = 4;

Returns
TypeDescription
boolean

The upstreamFixAvailable.

hasCvssv3()

public abstract boolean hasCvssv3()

Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;

Returns
TypeDescription
boolean

Whether the cvssv3 field is set.