Class: Aws::SecurityHub::Types::Cvss

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass Cvss data as a hash:

{
  version: "NonEmptyString",
  base_score: 1.0,
  base_vector: "NonEmptyString",
  source: "NonEmptyString",
  adjustments: [
    {
      metric: "NonEmptyString",
      reason: "NonEmptyString",
    },
  ],
}

CVSS scores from the advisory related to the vulnerability.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#adjustmentsArray<Types::Adjustment>

Adjustments to the CVSS metrics.

Returns:



24157
24158
24159
24160
24161
24162
24163
24164
24165
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24157

class Cvss < Struct.new(
  :version,
  :base_score,
  :base_vector,
  :source,
  :adjustments)
  SENSITIVE = []
  include Aws::Structure
end

#base_scoreFloat

The base CVSS score.

Returns:

  • (Float)


24157
24158
24159
24160
24161
24162
24163
24164
24165
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24157

class Cvss < Struct.new(
  :version,
  :base_score,
  :base_vector,
  :source,
  :adjustments)
  SENSITIVE = []
  include Aws::Structure
end

#base_vectorString

The base scoring vector for the CVSS score.

Returns:

  • (String)


24157
24158
24159
24160
24161
24162
24163
24164
24165
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24157

class Cvss < Struct.new(
  :version,
  :base_score,
  :base_vector,
  :source,
  :adjustments)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The origin of the original CVSS score and vector.

Returns:

  • (String)


24157
24158
24159
24160
24161
24162
24163
24164
24165
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24157

class Cvss < Struct.new(
  :version,
  :base_score,
  :base_vector,
  :source,
  :adjustments)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version of CVSS for the CVSS score.

Returns:

  • (String)


24157
24158
24159
24160
24161
24162
24163
24164
24165
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 24157

class Cvss < Struct.new(
  :version,
  :base_score,
  :base_vector,
  :source,
  :adjustments)
  SENSITIVE = []
  include Aws::Structure
end