Class: Aws::Inspector2::Types::CoverageFilterCriteria

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

{
  account_id: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  ec2_instance_tags: [
    {
      comparison: "EQUALS", # required, accepts EQUALS
      key: "NonEmptyString", # required
      value: "NonEmptyString",
    },
  ],
  ecr_image_tags: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  ecr_repository_name: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  resource_id: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  resource_type: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  scan_status_code: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  scan_status_reason: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
  scan_type: [
    {
      comparison: "EQUALS", # required, accepts EQUALS, NOT_EQUALS
      value: "CoverageStringInput", # required
    },
  ],
}

A structure that identifies filter criteria for GetCoverageStatistics.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idArray<Types::CoverageStringFilter>

An array of Amazon Web Services account IDs to return coverage statistics for.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#ec2_instance_tagsArray<Types::CoverageMapFilter>

The Amazon EC2 instance tags to filter on.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#ecr_image_tagsArray<Types::CoverageStringFilter>

The Amazon ECR image tags to filter on.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#ecr_repository_nameArray<Types::CoverageStringFilter>

The Amazon ECR repository name to filter on.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idArray<Types::CoverageStringFilter>

An array of Amazon Web Services resource IDs to return coverage statistics for.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeArray<Types::CoverageStringFilter>

An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_status_codeArray<Types::CoverageStringFilter>

The scan status code to filter on.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_status_reasonArray<Types::CoverageStringFilter>

The scan status reason to filter on.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_typeArray<Types::CoverageStringFilter>

An array of Amazon Inspector scan types to return coverage statistics for.

Returns:



931
932
933
934
935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 931

class CoverageFilterCriteria < Struct.new(
  :account_id,
  :ec2_instance_tags,
  :ecr_image_tags,
  :ecr_repository_name,
  :resource_id,
  :resource_type,
  :scan_status_code,
  :scan_status_reason,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end