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 \ AssessmentMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setRemediationType
The type of remediation that can be applied.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDetails
Contains a comprehensive human-readable discussion of the remediation.
Returns | |
---|---|
Type | Description |
string |
setDetails
Contains a comprehensive human-readable discussion of the remediation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRemediationUri
Contains the URL where to obtain the remediation.
Returns | |
---|---|
Type | Description |
Grafeas\V1\RelatedUrl|null |
hasRemediationUri
clearRemediationUri
setRemediationUri
Contains the URL where to obtain the remediation.
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\RelatedUrl
|
Returns | |
---|---|
Type | Description |
$this |