Class: Aws::Inspector2::Types::RepositoryAggregation

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

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

The details that define an aggregation based on repository.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#repositoriesArray<Types::StringFilter>

The names of repositories to aggregate findings on.

Returns:



4801
4802
4803
4804
4805
4806
4807
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 4801

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

#sort_byString

The value to sort results by.

Returns:

  • (String)


4801
4802
4803
4804
4805
4806
4807
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 4801

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

#sort_orderString

The order to sort results by.

Returns:

  • (String)


4801
4802
4803
4804
4805
4806
4807
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 4801

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