public
final
class
VulnerabilityNote
extends
GeneratedMessageV3
implements
VulnerabilityNoteOrBuilder
A security vulnerability that can be found in resources.
Protobuf type grafeas.v1.VulnerabilityNote
Static Fields
CVSS_SCORE_FIELD_NUMBER
public
static
final
int
CVSS_SCORE_FIELD_NUMBER
Field Value
CVSS_V3_FIELD_NUMBER
public
static
final
int
CVSS_V3_FIELD_NUMBER
Field Value
CVSS_VERSION_FIELD_NUMBER
public
static
final
int
CVSS_VERSION_FIELD_NUMBER
Field Value
DETAILS_FIELD_NUMBER
public
static
final
int
DETAILS_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public
static
final
int
SEVERITY_FIELD_NUMBER
Field Value
SOURCE_UPDATE_TIME_FIELD_NUMBER
public
static
final
int
SOURCE_UPDATE_TIME_FIELD_NUMBER
Field Value
WINDOWS_DETAILS_FIELD_NUMBER
public
static
final
int
WINDOWS_DETAILS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public
static
VulnerabilityNote
getDefaultInstance
()
Returns
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Returns
newBuilder()
public
static
VulnerabilityNote
.
Builder
newBuilder
()
Returns
newBuilder(VulnerabilityNote prototype)
public
static
VulnerabilityNote
.
Builder
newBuilder
(
VulnerabilityNote
prototype
)
Parameter
Returns
public
static
VulnerabilityNote
parseDelimitedFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
VulnerabilityNote
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public
static
VulnerabilityNote
parseFrom
(
byte
[]
data
)
Parameter
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
VulnerabilityNote
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public
static
VulnerabilityNote
parseFrom
(
ByteString
data
)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
VulnerabilityNote
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
VulnerabilityNote
parseFrom
(
CodedInputStream
input
)
Parameter
Returns
Exceptions
public
static
VulnerabilityNote
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
public
static
VulnerabilityNote
parseFrom
(
InputStream
input
)
Parameter
Returns
Exceptions
public
static
VulnerabilityNote
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public
static
VulnerabilityNote
parseFrom
(
ByteBuffer
data
)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
VulnerabilityNote
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
Parameters
Returns
Exceptions
parser()
public
static
Parser<VulnerabilityNote>
parser
()
Returns
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
Parameter
Returns
Overrides
getCvssScore()
public
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
getCvssV3()
public
CVSSv3
getCvssV3
()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Returns
getCvssV3OrBuilder()
public
CVSSv3OrBuilder
getCvssV3OrBuilder
()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Returns
getCvssVersion()
public
CVSSVersion
getCvssVersion
()
CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
Returns
getCvssVersionValue()
public
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.
|
getDefaultInstanceForType()
public
VulnerabilityNote
getDefaultInstanceForType
()
Returns
getDetails(int index)
public
VulnerabilityNote
.
Detail
getDetails
(
int
index
)
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Parameter
Returns
getDetailsCount()
public
int
getDetailsCount
()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Returns
getDetailsList()
public
List<VulnerabilityNote
.
Detail
>
getDetailsList
()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Returns
getDetailsOrBuilder(int index)
public
VulnerabilityNote
.
DetailOrBuilder
getDetailsOrBuilder
(
int
index
)
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Parameter
Returns
getDetailsOrBuilderList()
public
List
< ?
extends
VulnerabilityNote
.
DetailOrBuilder
>
getDetailsOrBuilderList
()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Returns
getParserForType()
public
Parser<VulnerabilityNote>
getParserForType
()
Returns
Overrides
getSerializedSize()
public
int
getSerializedSize
()
Returns
Overrides
getSeverity()
public
Severity
getSeverity
()
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Returns
getSeverityValue()
public
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
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
getSourceUpdateTimeOrBuilder()
public
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
getUnknownFields()
public
final
UnknownFieldSet
getUnknownFields
()
Returns
Overrides
getWindowsDetails(int index)
public
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
Returns
getWindowsDetailsCount()
public
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
getWindowsDetailsList()
public
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
getWindowsDetailsOrBuilder(int index)
public
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
Returns
getWindowsDetailsOrBuilderList()
public
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
hasCvssV3()
public
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Returns
Overrides
isInitialized()
public
final
boolean
isInitialized
()
Returns
Overrides
newBuilderForType()
public
VulnerabilityNote
.
Builder
newBuilderForType
()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
VulnerabilityNote
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
Parameter
Returns
Overrides
toBuilder()
public
VulnerabilityNote
.
Builder
toBuilder
()
Returns
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)
Parameter
Overrides
Exceptions