Class: Aws::Inspector2::Types::AccountAggregation

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 AccountAggregation 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
}

An object that contains details about an aggregation response based on Amazon Web Services accounts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#finding_typeString

The type of finding.

Returns:

  • (String)


82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 82

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

#resource_typeString

The type of resource.

Returns:

  • (String)


82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 82

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

#sort_byString

The value to sort by.

Returns:

  • (String)


82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 82

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

#sort_orderString

The sort order (ascending or descending).

Returns:

  • (String)


82
83
84
85
86
87
88
89
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 82

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