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
Namespace
Grafeas \ V1 \ VulnerabilityAssessmentNote \ AssessmentMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setJustificationType
The justification type for this vulnerability.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDetails
Additional details on why this justification was chosen.
Returns | |
---|---|
Type | Description |
string |
setDetails
Additional details on why this justification was chosen.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |