Reference documentation and code samples for the Grafeas V1 Client class WindowsDetail.
Generated from protobuf message grafeas.v1.VulnerabilityNote.WindowsDetail
Namespace
Grafeas \ V1 \ VulnerabilityNoteMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setCpeUri
Required. The CPE URI this vulnerability affects.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
Required. The name of this vulnerability.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of this vulnerability.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
The description of this vulnerability.
Returns | |
---|---|
Type | Description |
string |
setDescription
The description of this vulnerability.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Grafeas\V1\VulnerabilityNote\WindowsDetail\KnowledgeBase>
|
Returns | |
---|---|
Type | Description |
$this |