Class: Aws::SecurityHub::Types::Vulnerability

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 Vulnerability data as a hash:

{
  id: "NonEmptyString", # required
  vulnerable_packages: [
    {
      name: "NonEmptyString",
      version: "NonEmptyString",
      epoch: "NonEmptyString",
      release: "NonEmptyString",
      architecture: "NonEmptyString",
    },
  ],
  cvss: [
    {
      version: "NonEmptyString",
      base_score: 1.0,
      base_vector: "NonEmptyString",
    },
  ],
  related_vulnerabilities: ["NonEmptyString"],
  vendor: {
    name: "NonEmptyString", # required
    url: "NonEmptyString",
    vendor_severity: "NonEmptyString",
    vendor_created_at: "NonEmptyString",
    vendor_updated_at: "NonEmptyString",
  },
  reference_urls: ["NonEmptyString"],
}

A vulnerability associated with a finding.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cvssArray<Types::Cvss>

CVSS scores from the advisory related to the vulnerability.

Returns:



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12411

class Vulnerability < Struct.new(
  :id,
  :vulnerable_packages,
  :cvss,
  :related_vulnerabilities,
  :vendor,
  :reference_urls)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the vulnerability.

Returns:

  • (String)


12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12411

class Vulnerability < Struct.new(
  :id,
  :vulnerable_packages,
  :cvss,
  :related_vulnerabilities,
  :vendor,
  :reference_urls)
  SENSITIVE = []
  include Aws::Structure
end

#reference_urlsArray<String>

A list of URLs that provide additional information about the vulnerability.

Returns:

  • (Array<String>)


12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12411

class Vulnerability < Struct.new(
  :id,
  :vulnerable_packages,
  :cvss,
  :related_vulnerabilities,
  :vendor,
  :reference_urls)
  SENSITIVE = []
  include Aws::Structure
end

List of vulnerabilities that are related to this vulnerability.

Returns:

  • (Array<String>)


12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12411

class Vulnerability < Struct.new(
  :id,
  :vulnerable_packages,
  :cvss,
  :related_vulnerabilities,
  :vendor,
  :reference_urls)
  SENSITIVE = []
  include Aws::Structure
end

#vendorTypes::VulnerabilityVendor

Information about the vendor that generates the vulnerability report.



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12411

class Vulnerability < Struct.new(
  :id,
  :vulnerable_packages,
  :cvss,
  :related_vulnerabilities,
  :vendor,
  :reference_urls)
  SENSITIVE = []
  include Aws::Structure
end

#vulnerable_packagesArray<Types::SoftwarePackage>

List of software packages that have the vulnerability.

Returns:



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12411

class Vulnerability < Struct.new(
  :id,
  :vulnerable_packages,
  :cvss,
  :related_vulnerabilities,
  :vendor,
  :reference_urls)
  SENSITIVE = []
  include Aws::Structure
end