Interface VulnerabilityOrBuilder (2.49.0)

public interface VulnerabilityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCvssScore()

public abstract float getCvssScore()

The CVSS score for this vulnerability.

float cvss_score = 1;

Returns
Type Description
float

The cvssScore.

getCvssV3()

public abstract CVSSv3 getCvssV3()

The full description of the CVSSv3.

.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;

Returns
Type Description
CVSSv3

The cvssV3.

getCvssV3OrBuilder()

public abstract CVSSv3OrBuilder getCvssV3OrBuilder()

The full description of the CVSSv3.

.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;

Returns
Type Description
CVSSv3OrBuilder

getDetails(int index)

public abstract Vulnerability.Detail getDetails(int index)

All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability.Detail

getDetailsCount()

public abstract int getDetailsCount()

All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;

Returns
Type Description
int

getDetailsList()

public abstract List<Vulnerability.Detail> getDetailsList()

All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;

Returns
Type Description
List<Detail>

getDetailsOrBuilder(int index)

public abstract Vulnerability.DetailOrBuilder getDetailsOrBuilder(int index)

All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability.DetailOrBuilder

getDetailsOrBuilderList()

public abstract List<? extends Vulnerability.DetailOrBuilder> getDetailsOrBuilderList()

All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;

Returns
Type Description
List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.DetailOrBuilder>

getSeverity()

public abstract Severity getSeverity()

Note provider assigned impact of the vulnerability.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

Note provider assigned impact of the vulnerability.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

getSourceUpdateTime()

public abstract Timestamp getSourceUpdateTime()

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

.google.protobuf.Timestamp source_update_time = 6;

Returns
Type Description
Timestamp

The sourceUpdateTime.

getSourceUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getSourceUpdateTimeOrBuilder()

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

.google.protobuf.Timestamp source_update_time = 6;

Returns
Type Description
TimestampOrBuilder

getWindowsDetails(int index)

public abstract Vulnerability.WindowsDetail getWindowsDetails(int index)

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability.WindowsDetail

getWindowsDetailsCount()

public abstract int getWindowsDetailsCount()

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;

Returns
Type Description
int

getWindowsDetailsList()

public abstract List<Vulnerability.WindowsDetail> getWindowsDetailsList()

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;

Returns
Type Description
List<WindowsDetail>

getWindowsDetailsOrBuilder(int index)

public abstract Vulnerability.WindowsDetailOrBuilder getWindowsDetailsOrBuilder(int index)

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability.WindowsDetailOrBuilder

getWindowsDetailsOrBuilderList()

public abstract List<? extends Vulnerability.WindowsDetailOrBuilder> getWindowsDetailsOrBuilderList()

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;

Returns
Type Description
List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetailOrBuilder>

hasCvssV3()

public abstract boolean hasCvssV3()

The full description of the CVSSv3.

.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;

Returns
Type Description
boolean

Whether the cvssV3 field is set.

hasSourceUpdateTime()

public abstract boolean hasSourceUpdateTime()

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

.google.protobuf.Timestamp source_update_time = 6;

Returns
Type Description
boolean

Whether the sourceUpdateTime field is set.