Reference documentation and code samples for the Google Cloud OsConfig V1 Client class CVSSv3.
Common Vulnerability Scoring System version 3.
For details, see https://www.first.org/cvss/specification-document
Generated from protobuf message google.cloud.osconfig.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. https://www.first.org/cvss/specification-document#Base-Metrics
↳ exploitability_score
float
The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
↳ impact_score
float
The Impact sub-score equation is derived from the Base Impact metrics.
↳ attack_vector
int
This metric reflects the context by which vulnerability exploitation is possible.
↳ attack_complexity
int
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
↳ privileges_required
int
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
↳ user_interaction
int
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
↳ scope
int
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
↳ confidentiality_impact
int
This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
↳ integrity_impact
int
This metric measures the impact to integrity of a successfully exploited vulnerability.
↳ availability_impact
int
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
getBaseScore
The base score is a function of the base metric scores.
https://www.first.org/cvss/specification-document#Base-Metrics
float
setBaseScore
The base score is a function of the base metric scores.
https://www.first.org/cvss/specification-document#Base-Metrics
var
float
$this
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
setExploitabilityScore
The Exploitability sub-score equation is derived from the Base Exploitability metrics.
https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
var
float
$this
getImpactScore
The Impact sub-score equation is derived from the Base Impact metrics.
float
setImpactScore
The Impact sub-score equation is derived from the Base Impact metrics.
var
float
$this
getAttackVector
This metric reflects the context by which vulnerability exploitation is possible.
int
setAttackVector
This metric reflects the context by which vulnerability exploitation is possible.
var
int
$this
getAttackComplexity
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
int
setAttackComplexity
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
var
int
$this
getPrivilegesRequired
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
int
setPrivilegesRequired
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
var
int
$this
getUserInteraction
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
int
setUserInteraction
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
var
int
$this
getScope
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
int
setScope
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
var
int
$this
getConfidentialityImpact
This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
int
setConfidentialityImpact
This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
var
int
$this
getIntegrityImpact
This metric measures the impact to integrity of a successfully exploited vulnerability.
int
setIntegrityImpact
This metric measures the impact to integrity of a successfully exploited vulnerability.
var
int
$this
getAvailabilityImpact
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
int
setAvailabilityImpact
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
var
int
$this