class Google::Apis::ContaineranalysisV1::Cvss
Common Vulnerability Scoring System. For details, see www.first.org/ cvss/specification-document This is a message we will try to use for storing multiple versions of CVSS. The intention is that as new versions of CVSS scores get added, we will be able to modify this message rather than adding new protos for each new version of the score.
Attributes
Corresponds to the JSON property ‘attackComplexity` @return [String]
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Corresponds to the JSON property ‘attackVector` @return [String]
Corresponds to the JSON property ‘authentication` @return [String]
Corresponds to the JSON property ‘availabilityImpact` @return [String]
The base score is a function of the base metric scores. Corresponds to the JSON property ‘baseScore` @return [Float]
Corresponds to the JSON property ‘confidentialityImpact` @return [String]
Corresponds to the JSON property ‘exploitabilityScore` @return [Float]
Corresponds to the JSON property ‘impactScore` @return [Float]
Corresponds to the JSON property ‘integrityImpact` @return [String]
Corresponds to the JSON property ‘privilegesRequired` @return [String]
Corresponds to the JSON property ‘scope` @return [String]
Corresponds to the JSON property ‘userInteraction` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1/classes.rb, line 563 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 568 def update!(**args) @attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity) @attack_vector = args[:attack_vector] if args.key?(:attack_vector) @authentication = args[:authentication] if args.key?(:authentication) @availability_impact = args[:availability_impact] if args.key?(:availability_impact) @base_score = args[:base_score] if args.key?(:base_score) @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact) @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score) @impact_score = args[:impact_score] if args.key?(:impact_score) @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact) @privileges_required = args[:privileges_required] if args.key?(:privileges_required) @scope = args[:scope] if args.key?(:scope) @user_interaction = args[:user_interaction] if args.key?(:user_interaction) end