class Aws::Inspector2::Types::FilterCriteria

Details on the criteria used to define the filter.

@note When making an API call, you may pass FilterCriteria

data as a hash:

    {
      aws_account_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      component_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      component_type: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ec2_instance_image_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ec2_instance_subnet_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ec2_instance_vpc_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ecr_image_architecture: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ecr_image_hash: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ecr_image_pushed_at: [
        {
          end_inclusive: Time.now,
          start_inclusive: Time.now,
        },
      ],
      ecr_image_registry: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ecr_image_repository_name: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      ecr_image_tags: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      finding_arn: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      finding_status: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      finding_type: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      first_observed_at: [
        {
          end_inclusive: Time.now,
          start_inclusive: Time.now,
        },
      ],
      inspector_score: [
        {
          lower_inclusive: 1.0,
          upper_inclusive: 1.0,
        },
      ],
      last_observed_at: [
        {
          end_inclusive: Time.now,
          start_inclusive: Time.now,
        },
      ],
      network_protocol: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      port_range: [
        {
          begin_inclusive: 1,
          end_inclusive: 1,
        },
      ],
      related_vulnerabilities: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      resource_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      resource_tags: [
        {
          comparison: "EQUALS", # required, accepts EQUALS
          key: "MapKey", # required
          value: "MapValue",
        },
      ],
      resource_type: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      severity: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      title: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      updated_at: [
        {
          end_inclusive: Time.now,
          start_inclusive: Time.now,
        },
      ],
      vendor_severity: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      vulnerability_id: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      vulnerability_source: [
        {
          comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
          value: "StringInput", # required
        },
      ],
      vulnerable_packages: [
        {
          architecture: {
            comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
            value: "StringInput", # required
          },
          epoch: {
            lower_inclusive: 1.0,
            upper_inclusive: 1.0,
          },
          name: {
            comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
            value: "StringInput", # required
          },
          release: {
            comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
            value: "StringInput", # required
          },
          source_layer_hash: {
            comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
            value: "StringInput", # required
          },
          version: {
            comparison: "EQUALS", # required, accepts EQUALS, PREFIX, NOT_EQUALS
            value: "StringInput", # required
          },
        },
      ],
    }

@!attribute [rw] aws_account_id

Details of the Amazon Web Services account IDs used to filter
findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] component_id

Details of the component IDs used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] component_type

Details of the component types used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ec2_instance_image_id

Details of the Amazon EC2 instance image IDs used to filter
findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ec2_instance_subnet_id

Details of the Amazon EC2 instance subnet IDs used to filter
findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ec2_instance_vpc_id

Details of the Amazon EC2 instance VPC IDs used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ecr_image_architecture

Details of the Amazon ECR image architecture types used to filter
findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ecr_image_hash

Details of the Amazon ECR image hashes used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ecr_image_pushed_at

Details on the Amazon ECR image push date and time used to filter
findings.
@return [Array<Types::DateFilter>]

@!attribute [rw] ecr_image_registry

Details on the Amazon ECR registry used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ecr_image_repository_name

Details on the name of the Amazon ECR repository used to filter
findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] ecr_image_tags

The tags attached to the Amazon ECR container image.
@return [Array<Types::StringFilter>]

@!attribute [rw] finding_arn

Details on the finding ARNs used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] finding_status

Details on the finding status types used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] finding_type

Details on the finding types used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] first_observed_at

Details on the date and time a finding was first seen used to filter
findings.
@return [Array<Types::DateFilter>]

@!attribute [rw] inspector_score

The Amazon Inspector score to filter on.
@return [Array<Types::NumberFilter>]

@!attribute [rw] last_observed_at

Details on the date and time a finding was last seen used to filter
findings.
@return [Array<Types::DateFilter>]

@!attribute [rw] network_protocol

Details on the ingress source addresses used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] port_range

Details on the port ranges used to filter findings.
@return [Array<Types::PortRangeFilter>]

@!attribute [rw] related_vulnerabilities

Details on the related vulnerabilities used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] resource_id

Details on the resource IDs used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] resource_tags

Details on the resource tags used to filter findings.
@return [Array<Types::MapFilter>]

@!attribute [rw] resource_type

Details on the resource types used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] severity

Details on the severity used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] title

Details on the finding title used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] updated_at

Details on the date and time a finding was last updated at used to
filter findings.
@return [Array<Types::DateFilter>]

@!attribute [rw] vendor_severity

Details on the vendor severity used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] vulnerability_id

Details on the vulnerability ID used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] vulnerability_source

Details on the vulnerability type used to filter findings.
@return [Array<Types::StringFilter>]

@!attribute [rw] vulnerable_packages

Details on the vulnerable packages used to filter findings.
@return [Array<Types::PackageFilter>]

@see docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FilterCriteria AWS API Documentation

Constants

SENSITIVE