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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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:



9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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.



9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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.



9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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)


9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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.



9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 9025

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