Google Cloud Security Command Center V1 Client - Class Cve (1.18.0)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Cve.

CVE stands for Common Vulnerabilities and Exposures.

More information: https://cve.mitre.org

Generated from protobuf message google.cloud.securitycenter.v1.Cve

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

The unique identifier for the vulnerability. e.g. CVE-2021-34527

↳ references array<Google\Cloud\SecurityCenter\V1\Reference>

Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

↳ cvssv3 Google\Cloud\SecurityCenter\V1\Cvssv3

Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

↳ upstream_fix_available bool

Whether upstream fix is available for the CVE.

getId

The unique identifier for the vulnerability. e.g. CVE-2021-34527

Returns
TypeDescription
string

setId

The unique identifier for the vulnerability. e.g. CVE-2021-34527

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReferences

Additional information about the CVE.

e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferences

Additional information about the CVE.

e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

Parameter
NameDescription
var array<Google\Cloud\SecurityCenter\V1\Reference>
Returns
TypeDescription
$this

getCvssv3

Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\Cvssv3|null

hasCvssv3

clearCvssv3

setCvssv3

Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1\Cvssv3
Returns
TypeDescription
$this

getUpstreamFixAvailable

Whether upstream fix is available for the CVE.

Returns
TypeDescription
bool

setUpstreamFixAvailable

Whether upstream fix is available for the CVE.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this