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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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
Generated from protobuf field string id = 1;
Returns | |
---|---|
Type | Description |
string |
setId
The unique identifier for the vulnerability. e.g. CVE-2021-34527
Generated from protobuf field string id = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReferences
Additional information about the CVE.
e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
Generated from protobuf field repeated .google.cloud.securitycenter.v1.Reference references = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setReferences
Additional information about the CVE.
e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
Generated from protobuf field repeated .google.cloud.securitycenter.v1.Reference references = 2;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\SecurityCenter\V1\Reference>
|
Returns | |
---|---|
Type | Description |
$this |
getCvssv3
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
Returns | |
---|---|
Type | Description |
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
Generated from protobuf field .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecurityCenter\V1\Cvssv3
|
Returns | |
---|---|
Type | Description |
$this |
getUpstreamFixAvailable
Whether upstream fix is available for the CVE.
Generated from protobuf field bool upstream_fix_available = 4;
Returns | |
---|---|
Type | Description |
bool |
setUpstreamFixAvailable
Whether upstream fix is available for the CVE.
Generated from protobuf field bool upstream_fix_available = 4;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |