Grafeas V1 Client - Class VulnerabilityAssessmentNote (0.9.0)

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
NameDescription
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
TypeDescription
string

setTitle

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getShortDescription

A one sentence description of this Vex.

Returns
TypeDescription
string

setShortDescription

A one sentence description of this Vex.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLongDescription

A detailed description of this Vex.

Returns
TypeDescription
string

setLongDescription

A detailed description of this Vex.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLanguageCode

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

Returns
TypeDescription
string

setLanguageCode

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPublisher

Publisher details of this Note.

Returns
TypeDescription
Grafeas\V1\VulnerabilityAssessmentNote\Publisher|null

hasPublisher

clearPublisher

setPublisher

Publisher details of this Note.

Parameter
NameDescription
var Grafeas\V1\VulnerabilityAssessmentNote\Publisher
Returns
TypeDescription
$this

getProduct

The product affected by this vex.

Returns
TypeDescription
Grafeas\V1\VulnerabilityAssessmentNote\Product|null

hasProduct

clearProduct

setProduct

The product affected by this vex.

Parameter
NameDescription
var Grafeas\V1\VulnerabilityAssessmentNote\Product
Returns
TypeDescription
$this

getAssessment

Represents a vulnerability assessment for the product.

Returns
TypeDescription
Grafeas\V1\VulnerabilityAssessmentNote\Assessment|null

hasAssessment

clearAssessment

setAssessment

Represents a vulnerability assessment for the product.

Parameter
NameDescription
var Grafeas\V1\VulnerabilityAssessmentNote\Assessment
Returns
TypeDescription
$this