Grafeas V1 Client - Class CVSSV3 (0.6.0)

Reference documentation and code samples for the Grafeas V1 Client class CVSSV3.

The CVSS v3 score for this vulnerability.

Generated from protobuf message grafeas.v1.VulnerabilityOccurrence.CVSSV3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ base_score float

The base score for for this vulnerability according to cvss v3.

↳ severity int

The severity rating assigned to this vulnerability by vulnerability provider.

getBaseScore

The base score for for this vulnerability according to cvss v3.

Returns
TypeDescription
float

setBaseScore

The base score for for this vulnerability according to cvss v3.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getSeverity

The severity rating assigned to this vulnerability by vulnerability provider.

Returns
TypeDescription
int

setSeverity

The severity rating assigned to this vulnerability by vulnerability provider.

Parameter
NameDescription
var int
Returns
TypeDescription
$this