Class: Aws::Inspector2::Types::PackageAggregation

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

{
  package_names: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
      value: "StringInput", # required
    },
  ],
  sort_by: "CRITICAL", # accepts CRITICAL, HIGH, ALL
  sort_order: "ASC", # accepts ASC, DESC
}

The details that define an aggregation based on operating system package type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#package_namesArray<Types::StringFilter>

The names of packages to aggregate findings on.

Returns:



4501
4502
4503
4504
4505
4506
4507
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 4501

class PackageAggregation < Struct.new(
  :package_names,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_byString

The value to sort results by.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 4501

class PackageAggregation < Struct.new(
  :package_names,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_orderString

The order to sort results by.

Returns:

  • (String)


4501
4502
4503
4504
4505
4506
4507
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 4501

class PackageAggregation < Struct.new(
  :package_names,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end