Google Cloud Security Command Center V2 Client - Class Vulnerability (1.30.0)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Vulnerability.

Refers to common vulnerability fields e.g. cve, cvss, cwe etc.

Generated from protobuf message google.cloud.securitycenter.v2.Vulnerability

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cve Google\Cloud\SecurityCenter\V2\Cve

CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)

↳ offending_package Google\Cloud\SecurityCenter\V2\Package

The offending package is relevant to the finding.

↳ fixed_package Google\Cloud\SecurityCenter\V2\Package

The fixed package is relevant to the finding.

↳ security_bulletin Google\Cloud\SecurityCenter\V2\SecurityBulletin

The security bulletin is relevant to this finding.

getCve

CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)

Returns
Type Description
Google\Cloud\SecurityCenter\V2\Cve|null

hasCve

clearCve

setCve

CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\Cve
Returns
Type Description
$this

getOffendingPackage

The offending package is relevant to the finding.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\Package|null

hasOffendingPackage

clearOffendingPackage

setOffendingPackage

The offending package is relevant to the finding.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\Package
Returns
Type Description
$this

getFixedPackage

The fixed package is relevant to the finding.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\Package|null

hasFixedPackage

clearFixedPackage

setFixedPackage

The fixed package is relevant to the finding.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\Package
Returns
Type Description
$this

getSecurityBulletin

The security bulletin is relevant to this finding.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\SecurityBulletin|null

hasSecurityBulletin

clearSecurityBulletin

setSecurityBulletin

The security bulletin is relevant to this finding.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\SecurityBulletin
Returns
Type Description
$this