Class: Aws::Inspector2::Types::FindingTypeAggregation

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

Overview

Note:

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

{
  finding_type: "NETWORK_REACHABILITY", # accepts NETWORK_REACHABILITY, PACKAGE_VULNERABILITY
  resource_type: "AWS_EC2_INSTANCE", # accepts AWS_EC2_INSTANCE, AWS_ECR_CONTAINER_IMAGE
  sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
  sort_order: "ASC", # accepts ASC, DESC
}

The details that define an aggregation based on finding type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#finding_typeString

The finding type to aggregate.

Returns:

  • (String)


2927
2928
2929
2930
2931
2932
2933
2934
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2927

class FindingTypeAggregation < Struct.new(
  :finding_type,
  :resource_type,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The resource type to aggregate.

Returns:

  • (String)


2927
2928
2929
2930
2931
2932
2933
2934
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2927

class FindingTypeAggregation < Struct.new(
  :finding_type,
  :resource_type,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_byString

The value to sort results by.

Returns:

  • (String)


2927
2928
2929
2930
2931
2932
2933
2934
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2927

class FindingTypeAggregation < Struct.new(
  :finding_type,
  :resource_type,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_orderString

The order to sort results by.

Returns:

  • (String)


2927
2928
2929
2930
2931
2932
2933
2934
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2927

class FindingTypeAggregation < Struct.new(
  :finding_type,
  :resource_type,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end