Grafeas V1 Client - Class Justification (0.7.1)

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

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

Generated from protobuf message grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ justification_type int

The justification type for this vulnerability.

↳ details string

Additional details on why this justification was chosen.

getJustificationType

The justification type for this vulnerability.

Returns
TypeDescription
int

setJustificationType

The justification type for this vulnerability.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetails

Additional details on why this justification was chosen.

Returns
TypeDescription
string

setDetails

Additional details on why this justification was chosen.

Parameter
NameDescription
var string
Returns
TypeDescription
$this