public final class Vulnerability extends GeneratedMessageV3 implements VulnerabilityOrBuilder
Vulnerability provides metadata about a security vulnerability in a Note.
Protobuf type grafeas.v1beta1.vulnerability.Vulnerability
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CVSS_SCORE_FIELD_NUMBER
public static final int CVSS_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CVSS_V3_FIELD_NUMBER
public static final int CVSS_V3_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DETAILS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_UPDATE_TIME_FIELD_NUMBER
public static final int SOURCE_UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WINDOWS_DETAILS_FIELD_NUMBER
public static final int WINDOWS_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Vulnerability getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Vulnerability.Builder newBuilder()
newBuilder(Vulnerability prototype)
public static Vulnerability.Builder newBuilder(Vulnerability prototype)
public static Vulnerability parseDelimitedFrom(InputStream input)
public static Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Vulnerability parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Vulnerability parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(CodedInputStream input)
public static Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(InputStream input)
public static Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Vulnerability parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Vulnerability> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCvssScore()
public float getCvssScore()
The CVSS score for this vulnerability.
float cvss_score = 1;
Returns |
Type |
Description |
float |
The cvssScore.
|
getCvssV3()
public CVSSv3 getCvssV3()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Returns |
Type |
Description |
CVSSv3 |
The cvssV3.
|
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
getDefaultInstanceForType()
public Vulnerability getDefaultInstanceForType()
getDetails(int index)
public 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
|
getDetailsCount()
public 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 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;
getDetailsOrBuilder(int index)
public 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
|
getDetailsOrBuilderList()
public 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> |
|
getParserForType()
public Parser<Vulnerability> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSeverity()
public Severity getSeverity()
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Returns |
Type |
Description |
Severity |
The severity.
|
getSeverityValue()
public 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 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 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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getWindowsDetails(int index)
public 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
|
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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Returns |
Type |
Description |
int |
|
getWindowsDetailsList()
public 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;
getWindowsDetailsOrBuilder(int index)
public 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
|
getWindowsDetailsOrBuilderList()
public 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 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 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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Vulnerability.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Vulnerability.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Vulnerability.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides