Class: Aws::GuardDuty::Types::ResourceStatistics

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

Information about each resource type associated with the ‘groupedByResource` statistics.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The ID of the Amazon Web Services account.

Returns:

  • (String)


7079
7080
7081
7082
7083
7084
7085
7086
7087
# File 'lib/aws-sdk-guardduty/types.rb', line 7079

class ResourceStatistics < Struct.new(
  :account_id,
  :last_generated_at,
  :resource_id,
  :resource_type,
  :total_findings)
  SENSITIVE = []
  include Aws::Structure
end

#last_generated_atTime

The timestamp at which the statistics for this resource was last generated.

Returns:

  • (Time)


7079
7080
7081
7082
7083
7084
7085
7086
7087
# File 'lib/aws-sdk-guardduty/types.rb', line 7079

class ResourceStatistics < Struct.new(
  :account_id,
  :last_generated_at,
  :resource_id,
  :resource_type,
  :total_findings)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

ID associated with each resource. The following list provides the mapping of the resource type and resource ID.

**Mapping of resource and resource ID**

  • AccessKey - ‘resource.accessKeyDetails.accessKeyId`

  • Container - ‘resource.containerDetails.id`

  • ECSCluster - ‘resource.ecsClusterDetails.name`

  • EKSCluster - ‘resource.eksClusterDetails.name`

  • Instance - ‘resource.instanceDetails.instanceId`

  • KubernetesCluster - ‘resource.kubernetesDetails.kubernetesWorkloadDetails.name`

  • Lambda - ‘resource.lambdaDetails.functionName`

  • RDSDBInstance - ‘resource.rdsDbInstanceDetails.dbInstanceIdentifier`

  • S3Bucket - ‘resource.s3BucketDetails.name`

  • S3Object - ‘resource.s3BucketDetails.name`

Returns:

  • (String)


7079
7080
7081
7082
7083
7084
7085
7086
7087
# File 'lib/aws-sdk-guardduty/types.rb', line 7079

class ResourceStatistics < Struct.new(
  :account_id,
  :last_generated_at,
  :resource_id,
  :resource_type,
  :total_findings)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of resource.

Returns:

  • (String)


7079
7080
7081
7082
7083
7084
7085
7086
7087
# File 'lib/aws-sdk-guardduty/types.rb', line 7079

class ResourceStatistics < Struct.new(
  :account_id,
  :last_generated_at,
  :resource_id,
  :resource_type,
  :total_findings)
  SENSITIVE = []
  include Aws::Structure
end

#total_findingsInteger

The total number of findings associated with this resource.

Returns:

  • (Integer)


7079
7080
7081
7082
7083
7084
7085
7086
7087
# File 'lib/aws-sdk-guardduty/types.rb', line 7079

class ResourceStatistics < Struct.new(
  :account_id,
  :last_generated_at,
  :resource_id,
  :resource_type,
  :total_findings)
  SENSITIVE = []
  include Aws::Structure
end