public final class Cve extends GeneratedMessage implements CveOrBuilder
CVE stands for Common Vulnerabilities and Exposures.
Information from the CVE
record that describes this
vulnerability.
Protobuf type google.cloud.securitycenter.v2.Cve
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CVSSV3_FIELD_NUMBER
public static final int CVSSV3_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXPLOITATION_ACTIVITY_FIELD_NUMBER
public static final int EXPLOITATION_ACTIVITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXPLOIT_RELEASE_DATE_FIELD_NUMBER
public static final int EXPLOIT_RELEASE_DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FIRST_EXPLOITATION_DATE_FIELD_NUMBER
public static final int FIRST_EXPLOITATION_DATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IMPACT_FIELD_NUMBER
public static final int IMPACT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OBSERVED_IN_THE_WILD_FIELD_NUMBER
public static final int OBSERVED_IN_THE_WILD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
public static final int UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ZERO_DAY_FIELD_NUMBER
public static final int ZERO_DAY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Cve getDefaultInstance()
| Returns |
| Type |
Description |
Cve |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Cve.Builder newBuilder()
newBuilder(Cve prototype)
public static Cve.Builder newBuilder(Cve prototype)
| Parameter |
| Name |
Description |
prototype |
Cve
|
public static Cve parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Cve |
|
public static Cve parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Cve |
|
parseFrom(byte[] data)
public static Cve parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Cve |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Cve |
|
parseFrom(ByteString data)
public static Cve parseFrom(ByteString data)
| Returns |
| Type |
Description |
Cve |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Cve |
|
public static Cve parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Cve |
|
public static Cve parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Cve |
|
public static Cve parseFrom(InputStream input)
| Returns |
| Type |
Description |
Cve |
|
public static Cve parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Cve |
|
parseFrom(ByteBuffer data)
public static Cve parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Cve |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Cve |
|
parser()
public static Parser<Cve> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCvssv3()
public Cvssv3 getCvssv3()
| Returns |
| Type |
Description |
Cvssv3 |
The cvssv3.
|
getCvssv3OrBuilder()
public Cvssv3OrBuilder getCvssv3OrBuilder()
getDefaultInstanceForType()
public Cve getDefaultInstanceForType()
| Returns |
| Type |
Description |
Cve |
|
getExploitReleaseDate()
public Timestamp getExploitReleaseDate()
Date the first publicly available exploit or PoC was released.
.google.protobuf.Timestamp exploit_release_date = 9;
| Returns |
| Type |
Description |
Timestamp |
The exploitReleaseDate.
|
getExploitReleaseDateOrBuilder()
public TimestampOrBuilder getExploitReleaseDateOrBuilder()
Date the first publicly available exploit or PoC was released.
.google.protobuf.Timestamp exploit_release_date = 9;
getExploitationActivity()
public Cve.ExploitationActivity getExploitationActivity()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v2.Cve.ExploitationActivity exploitation_activity = 6;
getExploitationActivityValue()
public int getExploitationActivityValue()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v2.Cve.ExploitationActivity exploitation_activity = 6;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for exploitationActivity.
|
getFirstExploitationDate()
public Timestamp getFirstExploitationDate()
Date of the earliest known exploitation.
.google.protobuf.Timestamp first_exploitation_date = 10;
| Returns |
| Type |
Description |
Timestamp |
The firstExploitationDate.
|
getFirstExploitationDateOrBuilder()
public TimestampOrBuilder getFirstExploitationDateOrBuilder()
Date of the earliest known exploitation.
.google.protobuf.Timestamp first_exploitation_date = 10;
getId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
| Returns |
| Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
getImpact()
public Cve.RiskRating getImpact()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v2.Cve.RiskRating impact = 5;
getImpactValue()
public int getImpactValue()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v2.Cve.RiskRating impact = 5;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for impact.
|
getObservedInTheWild()
public boolean getObservedInTheWild()
Whether or not the vulnerability has been observed in the wild.
bool observed_in_the_wild = 7;
| Returns |
| Type |
Description |
boolean |
The observedInTheWild.
|
getParserForType()
public Parser<Cve> getParserForType()
Overrides
getReferences(int index)
public Reference getReferences(int index)
| Parameter |
| Name |
Description |
index |
int
|
getReferencesCount()
public int getReferencesCount()
| Returns |
| Type |
Description |
int |
|
getReferencesList()
public List<Reference> getReferencesList()
getReferencesOrBuilder(int index)
public ReferenceOrBuilder getReferencesOrBuilder(int index)
| Parameter |
| Name |
Description |
index |
int
|
getReferencesOrBuilderList()
public List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
| Returns |
| Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.ReferenceOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getUpstreamFixAvailable()
public boolean getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
| Returns |
| Type |
Description |
boolean |
The upstreamFixAvailable.
|
getZeroDay()
public boolean getZeroDay()
Whether or not the vulnerability was zero day when the finding was
published.
bool zero_day = 8;
| Returns |
| Type |
Description |
boolean |
The zeroDay.
|
hasCvssv3()
public boolean hasCvssv3()
| Returns |
| Type |
Description |
boolean |
Whether the cvssv3 field is set.
|
hasExploitReleaseDate()
public boolean hasExploitReleaseDate()
Date the first publicly available exploit or PoC was released.
.google.protobuf.Timestamp exploit_release_date = 9;
| Returns |
| Type |
Description |
boolean |
Whether the exploitReleaseDate field is set.
|
hasFirstExploitationDate()
public boolean hasFirstExploitationDate()
Date of the earliest known exploitation.
.google.protobuf.Timestamp first_exploitation_date = 10;
| Returns |
| Type |
Description |
boolean |
Whether the firstExploitationDate field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Cve.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Cve.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Cve.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides