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

attack_complexity[RW]

Corresponds to the JSON property ‘attackComplexity` @return [String]

attack_vector[RW]

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]

authentication[RW]

Corresponds to the JSON property ‘authentication` @return [String]

availability_impact[RW]

Corresponds to the JSON property ‘availabilityImpact` @return [String]

base_score[RW]

The base score is a function of the base metric scores. Corresponds to the JSON property ‘baseScore` @return [Float]

confidentiality_impact[RW]

Corresponds to the JSON property ‘confidentialityImpact` @return [String]

exploitability_score[RW]

Corresponds to the JSON property ‘exploitabilityScore` @return [Float]

impact_score[RW]

Corresponds to the JSON property ‘impactScore` @return [Float]

integrity_impact[RW]

Corresponds to the JSON property ‘integrityImpact` @return [String]

privileges_required[RW]

Corresponds to the JSON property ‘privilegesRequired` @return [String]

scope[RW]

Corresponds to the JSON property ‘scope` @return [String]

user_interaction[RW]

Corresponds to the JSON property ‘userInteraction` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 563
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_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