Class: Aws::SecurityHub::Types::ResourcesTrendsStringFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

A filter for string-based fields in resources trend data, such as resource type or account ID.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_name ⇒ String

The name of the resources field to filter on. You can specify one of the following fields.

  • account_id – The Amazon Web Services account ID that owns the resource.

  • region – The Amazon Web Services Region of the resource.

  • resource_type – The type of the resource.

  • resource_category – The category of the resource.

  • resource_cloud_provider – The cloud provider of the resource. Valid values are AWS and Azure.

  • resource_region – The Region of the resource. For an Amazon Web Services resource, this is the Amazon Web Services Region. For an Azure resource, this is the Azure Region, such as eastus.

  • resource_owner_id – The identifier of the account that owns the resource. For an Amazon Web Services resource, this is the Amazon Web Services account ID. For an Azure resource, this is the Azure subscription ID.

  • resource_owner_organization_id – The identifier of the organization that owns the resource. For an Amazon Web Services resource, this is the Amazon Web Services organization ID. For an Azure resource, this is the Azure tenant ID.

Returns:

  • (String)


33131
33132
33133
33134
33135
33136
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 33131

class ResourcesTrendsStringFilter < Struct.new(
  :field_name,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#filter ⇒ Types::StringFilter

A string filter for filtering Security Hub CSPM findings.

Returns:



33131
33132
33133
33134
33135
33136
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 33131

class ResourcesTrendsStringFilter < Struct.new(
  :field_name,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end