Class: Google::Apis::SecuritycenterV1beta1::Cve
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Cve
- 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::Cvssv3
Common Vulnerability Scoring System version 3.
-
#id ⇒ String
The unique identifier for the vulnerability.
-
#references ⇒ Array<Google::Apis::SecuritycenterV1beta1::Reference>
Additional information about the CVE.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Cve
constructor
A new instance of Cve.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Cve
Returns a new instance of Cve.
287 288 289 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cvssv3 ⇒ Google::Apis::SecuritycenterV1beta1::Cvssv3
Common Vulnerability Scoring System version 3.
Corresponds to the JSON property cvssv3
274 275 276 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 274 def cvssv3 @cvssv3 end |
#id ⇒ String
The unique identifier for the vulnerability. e.g. CVE-2021-34527
Corresponds to the JSON property id
279 280 281 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 279 def id @id end |
#references ⇒ Array<Google::Apis::SecuritycenterV1beta1::Reference>
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
285 286 287 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 285 def references @references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 295 296 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 292 def update!(**args) @cvssv3 = args[:cvssv3] if args.key?(:cvssv3) @id = args[:id] if args.key?(:id) @references = args[:references] if args.key?(:references) end |