Grafeas V1 Client - Class VulnerabilityAssessmentNote (0.10.3)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ title string

The title of the note. E.g. Vex-Debian-11.4

↳ 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 Grafeas\V1\VulnerabilityAssessmentNote\Publisher

Publisher details of this Note.

↳ product Grafeas\V1\VulnerabilityAssessmentNote\Product

The product affected by this vex.

↳ assessment Grafeas\V1\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
Grafeas\V1\VulnerabilityAssessmentNote\Publisher|null

hasPublisher

clearPublisher

setPublisher

Publisher details of this Note.

Parameter
Name Description
var Grafeas\V1\VulnerabilityAssessmentNote\Publisher
Returns
Type Description
$this

getProduct

The product affected by this vex.

Returns
Type Description
Grafeas\V1\VulnerabilityAssessmentNote\Product|null

hasProduct

clearProduct

setProduct

The product affected by this vex.

Parameter
Name Description
var Grafeas\V1\VulnerabilityAssessmentNote\Product
Returns
Type Description
$this

getAssessment

Represents a vulnerability assessment for the product.

Returns
Type Description
Grafeas\V1\VulnerabilityAssessmentNote\Assessment|null

hasAssessment

clearAssessment

setAssessment

Represents a vulnerability assessment for the product.

Parameter
Name Description
var Grafeas\V1\VulnerabilityAssessmentNote\Assessment
Returns
Type Description
$this