- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public final class CVSS extends GeneratedMessageV3 implements CVSSOrBuilder
Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing multiple versions of CVSS. The intention is that as new versions of CVSS scores get added, we will be able to modify this message rather than adding new protos for each new version of the score.
Protobuf type grafeas.v1.CVSS
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CVSSImplements
CVSSOrBuilderStatic Fields
ATTACK_COMPLEXITY_FIELD_NUMBER
public static final int ATTACK_COMPLEXITY_FIELD_NUMBER
Type | Description |
int |
ATTACK_VECTOR_FIELD_NUMBER
public static final int ATTACK_VECTOR_FIELD_NUMBER
Type | Description |
int |
AUTHENTICATION_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER
Type | Description |
int |
AVAILABILITY_IMPACT_FIELD_NUMBER
public static final int AVAILABILITY_IMPACT_FIELD_NUMBER
Type | Description |
int |
BASE_SCORE_FIELD_NUMBER
public static final int BASE_SCORE_FIELD_NUMBER
Type | Description |
int |
CONFIDENTIALITY_IMPACT_FIELD_NUMBER
public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER
Type | Description |
int |
EXPLOITABILITY_SCORE_FIELD_NUMBER
public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER
Type | Description |
int |
IMPACT_SCORE_FIELD_NUMBER
public static final int IMPACT_SCORE_FIELD_NUMBER
Type | Description |
int |
INTEGRITY_IMPACT_FIELD_NUMBER
public static final int INTEGRITY_IMPACT_FIELD_NUMBER
Type | Description |
int |
PRIVILEGES_REQUIRED_FIELD_NUMBER
public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER
Type | Description |
int |
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
Type | Description |
int |
USER_INTERACTION_FIELD_NUMBER
public static final int USER_INTERACTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CVSS getDefaultInstance()
Type | Description |
CVSS |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CVSS.Builder newBuilder()
Type | Description |
CVSS.Builder |
newBuilder(CVSS prototype)
public static CVSS.Builder newBuilder(CVSS prototype)
Name | Description |
prototype | CVSS |
Type | Description |
CVSS.Builder |
parseDelimitedFrom(InputStream input)
public static CVSS parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CVSS |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CVSS parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSS |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CVSS parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CVSS |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CVSS parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSS |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CVSS parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CVSS |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CVSS parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSS |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CVSS parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CVSS |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CVSS parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSS |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CVSS parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CVSS |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CVSS parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSS |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CVSS parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CVSS |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CVSS parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSS |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CVSS> parser()
Type | Description |
Parser<CVSS> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAttackComplexity()
public CVSS.AttackComplexity getAttackComplexity()
.grafeas.v1.CVSS.AttackComplexity attack_complexity = 5;
Type | Description |
CVSS.AttackComplexity | The attackComplexity. |
getAttackComplexityValue()
public int getAttackComplexityValue()
.grafeas.v1.CVSS.AttackComplexity attack_complexity = 5;
Type | Description |
int | The enum numeric value on the wire for attackComplexity. |
getAttackVector()
public CVSS.AttackVector getAttackVector()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
.grafeas.v1.CVSS.AttackVector attack_vector = 4;
Type | Description |
CVSS.AttackVector | The attackVector. |
getAttackVectorValue()
public int getAttackVectorValue()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
.grafeas.v1.CVSS.AttackVector attack_vector = 4;
Type | Description |
int | The enum numeric value on the wire for attackVector. |
getAuthentication()
public CVSS.Authentication getAuthentication()
.grafeas.v1.CVSS.Authentication authentication = 6;
Type | Description |
CVSS.Authentication | The authentication. |
getAuthenticationValue()
public int getAuthenticationValue()
.grafeas.v1.CVSS.Authentication authentication = 6;
Type | Description |
int | The enum numeric value on the wire for authentication. |
getAvailabilityImpact()
public CVSS.Impact getAvailabilityImpact()
.grafeas.v1.CVSS.Impact availability_impact = 12;
Type | Description |
CVSS.Impact | The availabilityImpact. |
getAvailabilityImpactValue()
public int getAvailabilityImpactValue()
.grafeas.v1.CVSS.Impact availability_impact = 12;
Type | Description |
int | The enum numeric value on the wire for availabilityImpact. |
getBaseScore()
public float getBaseScore()
The base score is a function of the base metric scores.
float base_score = 1;
Type | Description |
float | The baseScore. |
getConfidentialityImpact()
public CVSS.Impact getConfidentialityImpact()
.grafeas.v1.CVSS.Impact confidentiality_impact = 10;
Type | Description |
CVSS.Impact | The confidentialityImpact. |
getConfidentialityImpactValue()
public int getConfidentialityImpactValue()
.grafeas.v1.CVSS.Impact confidentiality_impact = 10;
Type | Description |
int | The enum numeric value on the wire for confidentialityImpact. |
getDefaultInstanceForType()
public CVSS getDefaultInstanceForType()
Type | Description |
CVSS |
getExploitabilityScore()
public float getExploitabilityScore()
float exploitability_score = 2;
Type | Description |
float | The exploitabilityScore. |
getImpactScore()
public float getImpactScore()
float impact_score = 3;
Type | Description |
float | The impactScore. |
getIntegrityImpact()
public CVSS.Impact getIntegrityImpact()
.grafeas.v1.CVSS.Impact integrity_impact = 11;
Type | Description |
CVSS.Impact | The integrityImpact. |
getIntegrityImpactValue()
public int getIntegrityImpactValue()
.grafeas.v1.CVSS.Impact integrity_impact = 11;
Type | Description |
int | The enum numeric value on the wire for integrityImpact. |
getParserForType()
public Parser<CVSS> getParserForType()
Type | Description |
Parser<CVSS> |
getPrivilegesRequired()
public CVSS.PrivilegesRequired getPrivilegesRequired()
.grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7;
Type | Description |
CVSS.PrivilegesRequired | The privilegesRequired. |
getPrivilegesRequiredValue()
public int getPrivilegesRequiredValue()
.grafeas.v1.CVSS.PrivilegesRequired privileges_required = 7;
Type | Description |
int | The enum numeric value on the wire for privilegesRequired. |
getScope()
public CVSS.Scope getScope()
.grafeas.v1.CVSS.Scope scope = 9;
Type | Description |
CVSS.Scope | The scope. |
getScopeValue()
public int getScopeValue()
.grafeas.v1.CVSS.Scope scope = 9;
Type | Description |
int | The enum numeric value on the wire for scope. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUserInteraction()
public CVSS.UserInteraction getUserInteraction()
.grafeas.v1.CVSS.UserInteraction user_interaction = 8;
Type | Description |
CVSS.UserInteraction | The userInteraction. |
getUserInteractionValue()
public int getUserInteractionValue()
.grafeas.v1.CVSS.UserInteraction user_interaction = 8;
Type | Description |
int | The enum numeric value on the wire for userInteraction. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CVSS.Builder newBuilderForType()
Type | Description |
CVSS.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CVSS.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CVSS.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CVSS.Builder toBuilder()
Type | Description |
CVSS.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |