Send feedback
Grafeas V1 Client - Class CVSSv3 (1.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.7.0 (latest)
1.6.0
1.5.0
1.4.0
1.3.2
1.2.2
1.1.3
1.0.0
0.10.3
0.9.0
0.8.3
0.7.1
0.6.0
0.5.0
0.4.4
Namespace
Grafeas \ V1
Methods
__construct
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ base_score
float
The base score is a function of the base metric scores.
↳ exploitability_score
float
↳ impact_score
float
↳ attack_vector
int
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
↳ attack_complexity
int
↳ privileges_required
int
↳ user_interaction
int
↳ scope
int
↳ confidentiality_impact
int
↳ integrity_impact
int
↳ availability_impact
int
getBaseScore
The base score is a function of the base metric scores.
Returns
Type
Description
float
setBaseScore
The base score is a function of the base metric scores.
Parameter
Name
Description
var
float
Returns
Type
Description
$this
getExploitabilityScore
Generated from protobuf field float exploitability_score = 2;
Returns
Type
Description
float
setExploitabilityScore
Generated from protobuf field float exploitability_score = 2;
Parameter
Name
Description
var
float
Returns
Type
Description
$this
getImpactScore
Generated from protobuf field float impact_score = 3;
Returns
Type
Description
float
setImpactScore
Generated from protobuf field float impact_score = 3;
Parameter
Name
Description
var
float
Returns
Type
Description
$this
getAttackVector
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
Returns
Type
Description
int
setAttackVector
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAttackComplexity
Generated from protobuf field .grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
Returns
Type
Description
int
setAttackComplexity
Generated from protobuf field .grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPrivilegesRequired
Generated from protobuf field .grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
Returns
Type
Description
int
setPrivilegesRequired
Generated from protobuf field .grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getUserInteraction
Generated from protobuf field .grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
Returns
Type
Description
int
setUserInteraction
Generated from protobuf field .grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getScope
Generated from protobuf field .grafeas.v1.CVSSv3.Scope scope = 9;
Returns
Type
Description
int
setScope
Generated from protobuf field .grafeas.v1.CVSSv3.Scope scope = 9;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getConfidentialityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
Returns
Type
Description
int
setConfidentialityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getIntegrityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact integrity_impact = 11;
Returns
Type
Description
int
setIntegrityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact integrity_impact = 11;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAvailabilityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact availability_impact = 12;
Returns
Type
Description
int
setAvailabilityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact availability_impact = 12;
Parameter
Name
Description
var
int
Returns
Type
Description
$this
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]