Interface VulnerabilityNoteOrBuilder (2.43.0)

public interface VulnerabilityNoteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCvssScore()

public abstract float getCvssScore()

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

float cvss_score = 1;

Returns
Type Description
float

The cvssScore.

getCvssV2()

public abstract CVSS getCvssV2()

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type Description
CVSS

The cvssV2.

getCvssV2OrBuilder()

public abstract CVSSOrBuilder getCvssV2OrBuilder()

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type Description
CVSSOrBuilder

getCvssV3()

public abstract CVSSv3 getCvssV3()

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type Description
CVSSv3

The cvssV3.

getCvssV3OrBuilder()

public abstract CVSSv3OrBuilder getCvssV3OrBuilder()

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type Description
CVSSv3OrBuilder

getCvssVersion()

public abstract CVSSVersion getCvssVersion()

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Returns
Type Description
CVSSVersion

The cvssVersion.

getCvssVersionValue()

public abstract int getCvssVersionValue()

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Returns
Type Description
int

The enum numeric value on the wire for cvssVersion.

getDetails(int index)

public abstract VulnerabilityNote.Detail getDetails(int index)

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityNote.Detail

getDetailsCount()

public abstract int getDetailsCount()

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Returns
Type Description
int

getDetailsList()

public abstract List<VulnerabilityNote.Detail> getDetailsList()

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Returns
Type Description
List<Detail>

getDetailsOrBuilder(int index)

public abstract VulnerabilityNote.DetailOrBuilder getDetailsOrBuilder(int index)

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityNote.DetailOrBuilder

getDetailsOrBuilderList()

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

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Returns
Type Description
List<? extends io.grafeas.v1.VulnerabilityNote.DetailOrBuilder>

getSeverity()

public abstract Severity getSeverity()

The note provider assigned severity of this vulnerability.

.grafeas.v1.Severity severity = 2;

Returns
Type Description
Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

The note provider assigned severity of this vulnerability.

.grafeas.v1.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 VulnerabilityNote.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.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityNote.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.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Returns
Type Description
int

getWindowsDetailsList()

public abstract List<VulnerabilityNote.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.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Returns
Type Description
List<WindowsDetail>

getWindowsDetailsOrBuilder(int index)

public abstract VulnerabilityNote.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.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityNote.WindowsDetailOrBuilder

getWindowsDetailsOrBuilderList()

public abstract List<? extends VulnerabilityNote.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.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Returns
Type Description
List<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetailOrBuilder>

hasCvssV2()

public abstract boolean hasCvssV2()

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type Description
boolean

Whether the cvssV2 field is set.

hasCvssV3()

public abstract boolean hasCvssV3()

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.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.