Class CVSSv3
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1alpha.CVSSv3
- All Implemented Interfaces:
CVSSv3OrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CVSSv3
extends com.google.protobuf.GeneratedMessage
implements CVSSv3OrBuilder
Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-documentProtobuf type
google.cloud.osconfig.v1alpha.CVSSv3- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.static enumThis metric reflects the context by which vulnerability exploitation is possible.static final classCommon Vulnerability Scoring System version 3.static enumThe Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack.static enumThis metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.static enumThe Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.static enumThis metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.intThis metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.This metric reflects the context by which vulnerability exploitation is possible.intThis metric reflects the context by which vulnerability exploitation is possible.This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.intThis metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.floatThe base score is a function of the base metric scores.This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.intThis metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.static CVSSv3static final com.google.protobuf.Descriptors.DescriptorfloatThe Exploitability sub-score equation is derived from the Base Exploitability metrics.floatThe Impact sub-score equation is derived from the Base Impact metrics.This metric measures the impact to integrity of a successfully exploited vulnerability.intThis metric measures the impact to integrity of a successfully exploited vulnerability.com.google.protobuf.Parser<CVSSv3>This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.intThis metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.getScope()The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.intThe Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.intThis metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.intThis metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CVSSv3.Builderstatic CVSSv3.BuildernewBuilder(CVSSv3 prototype) protected CVSSv3.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CVSSv3parseDelimitedFrom(InputStream input) static CVSSv3parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CVSSv3parseFrom(byte[] data) static CVSSv3parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CVSSv3parseFrom(com.google.protobuf.ByteString data) static CVSSv3parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CVSSv3parseFrom(com.google.protobuf.CodedInputStream input) static CVSSv3parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CVSSv3parseFrom(InputStream input) static CVSSv3parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CVSSv3parseFrom(ByteBuffer data) static CVSSv3parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CVSSv3>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BASE_SCORE_FIELD_NUMBER
public static final int BASE_SCORE_FIELD_NUMBER- See Also:
-
EXPLOITABILITY_SCORE_FIELD_NUMBER
public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER- See Also:
-
IMPACT_SCORE_FIELD_NUMBER
public static final int IMPACT_SCORE_FIELD_NUMBER- See Also:
-
ATTACK_VECTOR_FIELD_NUMBER
public static final int ATTACK_VECTOR_FIELD_NUMBER- See Also:
-
ATTACK_COMPLEXITY_FIELD_NUMBER
public static final int ATTACK_COMPLEXITY_FIELD_NUMBER- See Also:
-
PRIVILEGES_REQUIRED_FIELD_NUMBER
public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER- See Also:
-
USER_INTERACTION_FIELD_NUMBER
public static final int USER_INTERACTION_FIELD_NUMBER- See Also:
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER- See Also:
-
CONFIDENTIALITY_IMPACT_FIELD_NUMBER
public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER- See Also:
-
INTEGRITY_IMPACT_FIELD_NUMBER
public static final int INTEGRITY_IMPACT_FIELD_NUMBER- See Also:
-
AVAILABILITY_IMPACT_FIELD_NUMBER
public static final int AVAILABILITY_IMPACT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getBaseScore
public float getBaseScore()The base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics
float base_score = 1;- Specified by:
getBaseScorein interfaceCVSSv3OrBuilder- Returns:
- The baseScore.
-
getExploitabilityScore
public float getExploitabilityScore()The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
float exploitability_score = 2;- Specified by:
getExploitabilityScorein interfaceCVSSv3OrBuilder- Returns:
- The exploitabilityScore.
-
getImpactScore
public float getImpactScore()The Impact sub-score equation is derived from the Base Impact metrics.
float impact_score = 3;- Specified by:
getImpactScorein interfaceCVSSv3OrBuilder- Returns:
- The impactScore.
-
getAttackVectorValue
public int getAttackVectorValue()This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;- Specified by:
getAttackVectorValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for attackVector.
-
getAttackVector
This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;- Specified by:
getAttackVectorin interfaceCVSSv3OrBuilder- Returns:
- The attackVector.
-
getAttackComplexityValue
public int getAttackComplexityValue()This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;- Specified by:
getAttackComplexityValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for attackComplexity.
-
getAttackComplexity
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;- Specified by:
getAttackComplexityin interfaceCVSSv3OrBuilder- Returns:
- The attackComplexity.
-
getPrivilegesRequiredValue
public int getPrivilegesRequiredValue()This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;- Specified by:
getPrivilegesRequiredValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for privilegesRequired.
-
getPrivilegesRequired
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;- Specified by:
getPrivilegesRequiredin interfaceCVSSv3OrBuilder- Returns:
- The privilegesRequired.
-
getUserInteractionValue
public int getUserInteractionValue()This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;- Specified by:
getUserInteractionValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for userInteraction.
-
getUserInteraction
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
.google.cloud.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;- Specified by:
getUserInteractionin interfaceCVSSv3OrBuilder- Returns:
- The userInteraction.
-
getScopeValue
public int getScopeValue()The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
.google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9;- Specified by:
getScopeValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
getScope
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
.google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9;- Specified by:
getScopein interfaceCVSSv3OrBuilder- Returns:
- The scope.
-
getConfidentialityImpactValue
public int getConfidentialityImpactValue()This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;- Specified by:
getConfidentialityImpactValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for confidentialityImpact.
-
getConfidentialityImpact
This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;- Specified by:
getConfidentialityImpactin interfaceCVSSv3OrBuilder- Returns:
- The confidentialityImpact.
-
getIntegrityImpactValue
public int getIntegrityImpactValue()This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;- Specified by:
getIntegrityImpactValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for integrityImpact.
-
getIntegrityImpact
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;- Specified by:
getIntegrityImpactin interfaceCVSSv3OrBuilder- Returns:
- The integrityImpact.
-
getAvailabilityImpactValue
public int getAvailabilityImpactValue()This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;- Specified by:
getAvailabilityImpactValuein interfaceCVSSv3OrBuilder- Returns:
- The enum numeric value on the wire for availabilityImpact.
-
getAvailabilityImpact
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;- Specified by:
getAvailabilityImpactin interfaceCVSSv3OrBuilder- Returns:
- The availabilityImpact.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CVSSv3 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CVSSv3 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CVSSv3 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CVSSv3 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CVSSv3 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CVSSv3 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CVSSv3 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CVSSv3 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CVSSv3 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CVSSv3.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-