Reference documentation and code samples for the Grafeas V1 Client class CVSSv3.
Common Vulnerability Scoring System version 3.
For details, see https://www.first.org/cvss/specification-document
Generated from protobuf message grafeas.v1.CVSSv3
Methods
__construct
Constructor.
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.
float
setBaseScore
The base score is a function of the base metric scores.
var
float
$this
getExploitabilityScore
Generated from protobuf field float exploitability_score = 2;
float
setExploitabilityScore
Generated from protobuf field float exploitability_score = 2;
var
float
$this
getImpactScore
Generated from protobuf field float impact_score = 3;
float
setImpactScore
Generated from protobuf field float impact_score = 3;
var
float
$this
getAttackVector
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
int
setAttackVector
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
var
int
$this
getAttackComplexity
Generated from protobuf field .grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
int
setAttackComplexity
Generated from protobuf field .grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
var
int
$this
getPrivilegesRequired
Generated from protobuf field .grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
int
setPrivilegesRequired
Generated from protobuf field .grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
var
int
$this
getUserInteraction
Generated from protobuf field .grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
int
setUserInteraction
Generated from protobuf field .grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
var
int
$this
getScope
Generated from protobuf field .grafeas.v1.CVSSv3.Scope scope = 9;
int
setScope
Generated from protobuf field .grafeas.v1.CVSSv3.Scope scope = 9;
var
int
$this
getConfidentialityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
int
setConfidentialityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
var
int
$this
getIntegrityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact integrity_impact = 11;
int
setIntegrityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact integrity_impact = 11;
var
int
$this
getAvailabilityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact availability_impact = 12;
int
setAvailabilityImpact
Generated from protobuf field .grafeas.v1.CVSSv3.Impact availability_impact = 12;
var
int
$this