Class: Aws::Inspector2::Types::TitleAggregation

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

{
  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
  titles: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
      value: "StringInput", # required
    },
  ],
  vulnerability_ids: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
      value: "StringInput", # required
    },
  ],
}

The details that define an aggregation based on finding title.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_typeString

The resource type to aggregate on.

Returns:

  • (String)


5241
5242
5243
5244
5245
5246
5247
5248
5249
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5241

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

#sort_byString

The value to sort results by.

Returns:

  • (String)


5241
5242
5243
5244
5245
5246
5247
5248
5249
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5241

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

#sort_orderString

The order to sort results by.

Returns:

  • (String)


5241
5242
5243
5244
5245
5246
5247
5248
5249
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5241

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

#titlesArray<Types::StringFilter>

The finding titles to aggregate on.

Returns:



5241
5242
5243
5244
5245
5246
5247
5248
5249
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5241

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

#vulnerability_idsArray<Types::StringFilter>

The vulnerability IDs of the findings.

Returns:



5241
5242
5243
5244
5245
5246
5247
5248
5249
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5241

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