Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cve
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cve
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Overview
CVE stands for Common Vulnerabilities and Exposures. More information: https:// cve.mitre.org
Instance Attribute Summary collapse
-
#cvssv3 ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cvssv3
Common Vulnerability Scoring System version 3.
-
#id ⇒ String
The unique identifier for the vulnerability.
-
#references ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Reference>
Additional information about the CVE.
-
#upstream_fix_available ⇒ Boolean
(also: #upstream_fix_available?)
Whether upstream fix is available for the CVE.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Cve
constructor
A new instance of GoogleCloudSecuritycenterV2Cve.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Cve
Returns a new instance of GoogleCloudSecuritycenterV2Cve.
3539 3540 3541 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cvssv3 ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cvssv3
Common Vulnerability Scoring System version 3.
Corresponds to the JSON property cvssv3
3520 3521 3522 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3520 def cvssv3 @cvssv3 end |
#id ⇒ String
The unique identifier for the vulnerability. e.g. CVE-2021-34527
Corresponds to the JSON property id
3525 3526 3527 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3525 def id @id end |
#references ⇒ Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Reference>
Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/
cvename.cgi?name=CVE-2021-34527
Corresponds to the JSON property references
3531 3532 3533 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3531 def references @references end |
#upstream_fix_available ⇒ Boolean Also known as: upstream_fix_available?
Whether upstream fix is available for the CVE.
Corresponds to the JSON property upstreamFixAvailable
3536 3537 3538 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3536 def upstream_fix_available @upstream_fix_available end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3544 3545 3546 3547 3548 3549 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3544 def update!(**args) @cvssv3 = args[:cvssv3] if args.key?(:cvssv3) @id = args[:id] if args.key?(:id) @references = args[:references] if args.key?(:references) @upstream_fix_available = args[:upstream_fix_available] if args.key?(:upstream_fix_available) end |