Grafeas V1 Client - Class WindowsDetail (0.7.1)

Reference documentation and code samples for the Grafeas V1 Client class WindowsDetail.

Generated from protobuf message grafeas.v1.VulnerabilityNote.WindowsDetail

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ cpe_uri string

Required. The CPE URI this vulnerability affects.

↳ name string

Required. The name of this vulnerability.

↳ description string

The description of this vulnerability.

↳ fixing_kbs array<Grafeas\V1\VulnerabilityNote\WindowsDetail\KnowledgeBase>

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix.

getCpeUri

Required. The CPE URI this vulnerability affects.

Returns
TypeDescription
string

setCpeUri

Required. The CPE URI this vulnerability affects.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

Required. The name of this vulnerability.

Returns
TypeDescription
string

setName

Required. The name of this vulnerability.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The description of this vulnerability.

Returns
TypeDescription
string

setDescription

The description of this vulnerability.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFixingKbs

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFixingKbs

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix.

Parameter
NameDescription
var array<Grafeas\V1\VulnerabilityNote\WindowsDetail\KnowledgeBase>
Returns
TypeDescription
$this