Class: Aws::SecurityHub::Types::Threat

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

Overview

Provides information about the threat detected in a security finding and the file paths that were affected by the threat.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_pathsArray<Types::FilePaths>

Provides information about the file paths that were affected by the threat.

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Returns:



30661
30662
30663
30664
30665
30666
30667
30668
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30661

class Threat < Struct.new(
  :name,
  :severity,
  :item_count,
  :file_paths)
  SENSITIVE = []
  include Aws::Structure
end

#item_countInteger

This total number of items in which the threat has been detected.

Returns:

  • (Integer)


30661
30662
30663
30664
30665
30666
30667
30668
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30661

class Threat < Struct.new(
  :name,
  :severity,
  :item_count,
  :file_paths)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the threat.

Length Constraints: Minimum of 1 length. Maximum of 128 length.

Returns:

  • (String)


30661
30662
30663
30664
30665
30666
30667
30668
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30661

class Threat < Struct.new(
  :name,
  :severity,
  :item_count,
  :file_paths)
  SENSITIVE = []
  include Aws::Structure
end

#severityString

The severity of the threat.

Length Constraints: Minimum of 1 length. Maximum of 128 length.

Returns:

  • (String)


30661
30662
30663
30664
30665
30666
30667
30668
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 30661

class Threat < Struct.new(
  :name,
  :severity,
  :item_count,
  :file_paths)
  SENSITIVE = []
  include Aws::Structure
end