Class: Aws::Inspector2::Types::CoveredResource

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

Overview

An object that contains details about a resource covered by Amazon Inspector.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID of the covered resource.

Returns:

  • (String)


2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#last_scanned_atTime

The date and time the resource was last checked for vulnerabilities.

Returns:



2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

The ID of the covered resource.

Returns:

  • (String)


2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_metadataTypes::ResourceScanMetadata

An object that contains details about the metadata.



2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of the covered resource.

Returns:

  • (String)


2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_modeString

The scan method that is applied to the instance.

Returns:

  • (String)


2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_statusTypes::ScanStatus

The status of the scan covering the resource.

Returns:



2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_typeString

The Amazon Inspector scan type covering the resource.

Returns:

  • (String)


2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2097

class CoveredResource < Struct.new(
  :account_id,
  :last_scanned_at,
  :resource_id,
  :resource_metadata,
  :resource_type,
  :scan_mode,
  :scan_status,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end