Reference documentation and code samples for the Grafeas V1 Client class VulnerabilityAssessmentNote.
A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE.
Generated from protobuf message grafeas.v1.VulnerabilityAssessmentNote
Namespace
Grafeas \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ title |
string
The title of the note. E.g. |
↳ short_description |
string
A one sentence description of this Vex. |
↳ long_description |
string
A detailed description of this Vex. |
↳ language_code |
string
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646. |
↳ publisher |
VulnerabilityAssessmentNote\Publisher
Publisher details of this Note. |
↳ product |
VulnerabilityAssessmentNote\Product
The product affected by this vex. |
↳ assessment |
VulnerabilityAssessmentNote\Assessment
Represents a vulnerability assessment for the product. |
getTitle
The title of the note. E.g. Vex-Debian-11.4
| Returns | |
|---|---|
| Type | Description |
string |
|
setTitle
The title of the note. E.g. Vex-Debian-11.4
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getShortDescription
A one sentence description of this Vex.
| Returns | |
|---|---|
| Type | Description |
string |
|
setShortDescription
A one sentence description of this Vex.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLongDescription
A detailed description of this Vex.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLongDescription
A detailed description of this Vex.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLanguageCode
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLanguageCode
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPublisher
Publisher details of this Note.
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote\Publisher|null |
|
hasPublisher
clearPublisher
setPublisher
Publisher details of this Note.
| Parameter | |
|---|---|
| Name | Description |
var |
VulnerabilityAssessmentNote\Publisher
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProduct
The product affected by this vex.
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote\Product|null |
|
hasProduct
clearProduct
setProduct
The product affected by this vex.
| Parameter | |
|---|---|
| Name | Description |
var |
VulnerabilityAssessmentNote\Product
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssessment
Represents a vulnerability assessment for the product.
| Returns | |
|---|---|
| Type | Description |
VulnerabilityAssessmentNote\Assessment|null |
|
hasAssessment
clearAssessment
setAssessment
Represents a vulnerability assessment for the product.
| Parameter | |
|---|---|
| Name | Description |
var |
VulnerabilityAssessmentNote\Assessment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|