Class: Aws::GuardDuty::Types::Scan

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

Overview

Contains information about malware scans associated with GuardDuty Malware Protection for EC2.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The ID for the account that belongs to the scan.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#admin_detector_idString

The unique detector ID of the administrator account that the request is associated with. If the account is an administrator, the AdminDetectorId will be the same as the one used for DetectorId.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#attached_volumesArray<Types::VolumeDetail>

List of volumes that were attached to the original instance to be scanned.

Returns:



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#detector_idString

The unique ID of the detector that is associated with the request.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#failure_reasonString

Represents the reason for FAILED scan status.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#file_countInteger

Represents the number of files that were scanned.

Returns:

  • (Integer)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_detailsTypes::ResourceDetails

Represents the resources that were scanned in the scan entry.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_end_timeTime

The timestamp of when the scan was finished.

Returns:

  • (Time)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_idString

The unique scan ID associated with a scan entry.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_result_detailsTypes::ScanResultDetails

Represents the result of the scan.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_start_timeTime

The timestamp of when the scan was triggered.

Returns:

  • (Time)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_statusString

An enum value representing possible scan statuses.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#scan_typeString

Specifies the scan type that invoked the malware scan.

Returns:

  • (String)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#total_bytesInteger

Represents total bytes that were scanned.

Returns:

  • (Integer)


8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end

#trigger_detailsTypes::TriggerDetails

Specifies the reason why the scan was initiated.



8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 8342

class Scan < Struct.new(
  :detector_id,
  :admin_detector_id,
  :scan_id,
  :scan_status,
  :failure_reason,
  :scan_start_time,
  :scan_end_time,
  :trigger_details,
  :resource_details,
  :scan_result_details,
  :account_id,
  :total_bytes,
  :file_count,
  :attached_volumes,
  :scan_type)
  SENSITIVE = []
  include Aws::Structure
end