Reference documentation and code samples for the Grafeas V1 Client class VexAssessment.
VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
Generated from protobuf message grafeas.v1.VulnerabilityOccurrence.VexAssessment
Namespace
Grafeas \ V1 \ VulnerabilityOccurrenceMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cve
string
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
↳ related_uris
array< Grafeas\V1\RelatedUrl
>
Holds a list of references associated with this vulnerability item and assessment.
↳ note_name
string
The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: projects/[PROJECT_ID]/notes/[NOTE_ID]
. (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: The suffix is kept for consistency. --)
↳ state
int
Provides the state of this Vulnerability assessment.
↳ impacts
array
Contains information about the impact of this vulnerability, this will change with time.
↳ remediations
array< Grafeas\V1\VulnerabilityAssessmentNote\Assessment\Remediation
>
Specifies details on how to handle (and presumably, fix) a vulnerability.
↳ justification
Grafeas\V1\VulnerabilityAssessmentNote\Assessment\Justification
Justification provides the justification when the state of the assessment if NOT_AFFECTED.
getCve
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
string
setCve
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
var
string
$this
getRelatedUris
Holds a list of references associated with this vulnerability item and assessment.
setRelatedUris
Holds a list of references associated with this vulnerability item and assessment.
$this
getNoteName
The VulnerabilityAssessment note from which this VexAssessment was generated.
This will be of the form: projects/[PROJECT_ID]/notes/[NOTE_ID]
.
(-- api-linter: core::0122::name-suffix=disabled
aip.dev/not-precedent: The suffix is kept for consistency. --)
string
setNoteName
The VulnerabilityAssessment note from which this VexAssessment was generated.
This will be of the form: projects/[PROJECT_ID]/notes/[NOTE_ID]
.
(-- api-linter: core::0122::name-suffix=disabled
aip.dev/not-precedent: The suffix is kept for consistency. --)
var
string
$this
getState
Provides the state of this Vulnerability assessment.
int
setState
Provides the state of this Vulnerability assessment.
var
int
$this
getImpacts
Contains information about the impact of this vulnerability, this will change with time.
setImpacts
Contains information about the impact of this vulnerability, this will change with time.
var
string[]
$this
getRemediations
Specifies details on how to handle (and presumably, fix) a vulnerability.
setRemediations
Specifies details on how to handle (and presumably, fix) a vulnerability.
$this
getJustification
Justification provides the justification when the state of the assessment if NOT_AFFECTED.
hasJustification
clearJustification
setJustification
Justification provides the justification when the state of the assessment if NOT_AFFECTED.
$this