class Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType
VulnerabilityType
provides metadata about a security vulnerability.
Attributes
cvss_score[RW]
The CVSS score for this Vulnerability. Corresponds to the JSON property `cvssScore` @return [Float]
details[RW]
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in. Corresponds to the JSON property `details` @return [Array<Google::Apis::ContaineranalysisV1alpha1::Detail>]
severity[RW]
Note
provider assigned impact of the vulnerability Corresponds to the JSON property `severity` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3903 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3908 def update!(**args) @cvss_score = args[:cvss_score] if args.key?(:cvss_score) @details = args[:details] if args.key?(:details) @severity = args[:severity] if args.key?(:severity) end