Grafeas V1 Client - Class CVSSV3 (0.10.3)

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

Namespace

Grafeas \ V1 \ VulnerabilityOccurrence

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
float

setBaseScore

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

Parameter
Name Description
var float
Returns
Type Description
$this

getSeverity

The severity rating assigned to this vulnerability by vulnerability provider.

Returns
Type Description
int

setSeverity

The severity rating assigned to this vulnerability by vulnerability provider.

Parameter
Name Description
var int
Returns
Type Description
$this