Package io.grafeas.v1beta1.vulnerability
Interface CVSSv3OrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CVSSv3
,CVSSv3.Builder
public interface CVSSv3OrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CVSSv3.AttackComplexity
getAttackComplexity()
.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
int
getAttackComplexityValue()
.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
CVSSv3.AttackVector
getAttackVector()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.int
getAttackVectorValue()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.CVSSv3.Impact
getAvailabilityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
int
getAvailabilityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
float
getBaseScore()
The base score is a function of the base metric scores.CVSSv3.Impact
getConfidentialityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
int
getConfidentialityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
float
getExploitabilityScore()
float exploitability_score = 2;
float
getImpactScore()
float impact_score = 3;
CVSSv3.Impact
getIntegrityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
int
getIntegrityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
CVSSv3.PrivilegesRequired
getPrivilegesRequired()
.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
int
getPrivilegesRequiredValue()
.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
CVSSv3.Scope
getScope()
.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
int
getScopeValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
CVSSv3.UserInteraction
getUserInteraction()
.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
int
getUserInteractionValue()
.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBaseScore
float getBaseScore()
The base score is a function of the base metric scores.
float base_score = 1;
- Returns:
- The baseScore.
-
getExploitabilityScore
float getExploitabilityScore()
float exploitability_score = 2;
- Returns:
- The exploitabilityScore.
-
getImpactScore
float getImpactScore()
float impact_score = 3;
- Returns:
- The impactScore.
-
getAttackVectorValue
int getAttackVectorValue()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
.grafeas.v1beta1.vulnerability.CVSSv3.AttackVector attack_vector = 5;
- Returns:
- The enum numeric value on the wire for attackVector.
-
getAttackVector
CVSSv3.AttackVector getAttackVector()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
.grafeas.v1beta1.vulnerability.CVSSv3.AttackVector attack_vector = 5;
- Returns:
- The attackVector.
-
getAttackComplexityValue
int getAttackComplexityValue()
.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
- Returns:
- The enum numeric value on the wire for attackComplexity.
-
getAttackComplexity
CVSSv3.AttackComplexity getAttackComplexity()
.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
- Returns:
- The attackComplexity.
-
getPrivilegesRequiredValue
int getPrivilegesRequiredValue()
.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
- Returns:
- The enum numeric value on the wire for privilegesRequired.
-
getPrivilegesRequired
CVSSv3.PrivilegesRequired getPrivilegesRequired()
.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
- Returns:
- The privilegesRequired.
-
getUserInteractionValue
int getUserInteractionValue()
.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
- Returns:
- The enum numeric value on the wire for userInteraction.
-
getUserInteraction
CVSSv3.UserInteraction getUserInteraction()
.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
- Returns:
- The userInteraction.
-
getScopeValue
int getScopeValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
- Returns:
- The enum numeric value on the wire for scope.
-
getScope
CVSSv3.Scope getScope()
.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
- Returns:
- The scope.
-
getConfidentialityImpactValue
int getConfidentialityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
- Returns:
- The enum numeric value on the wire for confidentialityImpact.
-
getConfidentialityImpact
CVSSv3.Impact getConfidentialityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
- Returns:
- The confidentialityImpact.
-
getIntegrityImpactValue
int getIntegrityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
- Returns:
- The enum numeric value on the wire for integrityImpact.
-
getIntegrityImpact
CVSSv3.Impact getIntegrityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
- Returns:
- The integrityImpact.
-
getAvailabilityImpactValue
int getAvailabilityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
- Returns:
- The enum numeric value on the wire for availabilityImpact.
-
getAvailabilityImpact
CVSSv3.Impact getAvailabilityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
- Returns:
- The availabilityImpact.
-
-