Grafeas V1 Client - Class Remediation (0.8.3)

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

Specifies details on how to handle (and presumably, fix) a vulnerability.

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

Namespace

Grafeas \ V1 \ VulnerabilityAssessmentNote \ Assessment

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ remediation_type int

The type of remediation that can be applied.

↳ details string

Contains a comprehensive human-readable discussion of the remediation.

↳ remediation_uri Grafeas\V1\RelatedUrl

Contains the URL where to obtain the remediation.

getRemediationType

The type of remediation that can be applied.

Returns
TypeDescription
int

setRemediationType

The type of remediation that can be applied.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetails

Contains a comprehensive human-readable discussion of the remediation.

Returns
TypeDescription
string

setDetails

Contains a comprehensive human-readable discussion of the remediation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRemediationUri

Contains the URL where to obtain the remediation.

Returns
TypeDescription
Grafeas\V1\RelatedUrl|null

hasRemediationUri

clearRemediationUri

setRemediationUri

Contains the URL where to obtain the remediation.

Parameter
NameDescription
var Grafeas\V1\RelatedUrl
Returns
TypeDescription
$this