Scan¶
Structure Class¶
Scan
dataclass
¶
Contains information about malware scans associated with GuardDuty Malware Protection for EC2.
Attributes¶
account_id
class-attribute
instance-attribute
¶
account_id: str | None = None
The ID for the account that belongs to the scan.
admin_detector_id
class-attribute
instance-attribute
¶
admin_detector_id: str | None = None
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.
attached_volumes
class-attribute
instance-attribute
¶
attached_volumes: list[VolumeDetail] | None = None
List of volumes that were attached to the original instance to be scanned.
detector_id
class-attribute
instance-attribute
¶
detector_id: str | None = None
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.
failure_reason
class-attribute
instance-attribute
¶
failure_reason: str | None = None
Represents the reason for FAILED scan status.
file_count
class-attribute
instance-attribute
¶
file_count: int | None = None
Represents the number of files that were scanned.
resource_details
class-attribute
instance-attribute
¶
resource_details: ResourceDetails | None = None
Represents the resources that were scanned in the scan entry.
scan_end_time
class-attribute
instance-attribute
¶
scan_end_time: datetime | None = None
The timestamp of when the scan was finished.
scan_id
class-attribute
instance-attribute
¶
scan_id: str | None = None
The unique scan ID associated with a scan entry.
scan_result_details
class-attribute
instance-attribute
¶
scan_result_details: ScanResultDetails | None = None
Represents the result of the scan.
scan_start_time
class-attribute
instance-attribute
¶
scan_start_time: datetime | None = None
The timestamp of when the scan was triggered.
scan_status
class-attribute
instance-attribute
¶
scan_status: ScanStatus | None = None
An enum value representing possible scan statuses.
scan_type
class-attribute
instance-attribute
¶
scan_type: ScanType | None = None
Specifies the scan type that invoked the malware scan.
total_bytes
class-attribute
instance-attribute
¶
total_bytes: int | None = None
Represents total bytes that were scanned.
trigger_details
class-attribute
instance-attribute
¶
trigger_details: TriggerDetails | None = None
Specifies the reason why the scan was initiated.