Google Cloud Security Command Center V1 Client - Class Cvssv3 (1.13.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Cvssv3.

Common Vulnerability Scoring System version 3.

Generated from protobuf message google.cloud.securitycenter.v1.Cvssv3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ base_score float

The base score is a function of the base metric scores.

↳ attack_vector int

Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. 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.

Generated from protobuf field double base_score = 1;

Returns
TypeDescription
float

setBaseScore

The base score is a function of the base metric scores.

Generated from protobuf field double base_score = 1;

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getAttackVector

Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

This metric reflects the context by which vulnerability exploitation is possible.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5;

Returns
TypeDescription
int

setAttackVector

Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

This metric reflects the context by which vulnerability exploitation is possible.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAttackComplexity

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;

Returns
TypeDescription
int

setAttackComplexity

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPrivilegesRequired

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;

Returns
TypeDescription
int

setPrivilegesRequired

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;

Parameter
NameDescription
var int
Returns
TypeDescription
$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.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;

Returns
TypeDescription
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.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getScope

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9;

Returns
TypeDescription
int

setScope

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9;

Parameter
NameDescription
var int
Returns
TypeDescription
$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.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;

Returns
TypeDescription
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.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIntegrityImpact

This metric measures the impact to integrity of a successfully exploited vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;

Returns
TypeDescription
int

setIntegrityImpact

This metric measures the impact to integrity of a successfully exploited vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAvailabilityImpact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12;

Returns
TypeDescription
int

setAvailabilityImpact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12;

Parameter
NameDescription
var int
Returns
TypeDescription
$this