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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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:



11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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.



11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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.



11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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)


11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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.



11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 11034

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