Skip to content

Guardduty  >  Operations  >  get_malware_scan_settings

get_malware_scan_settings

Operation

get_malware_scan_settings async

get_malware_scan_settings(input: GetMalwareScanSettingsInput, plugins: list[Plugin] | None = None) -> GetMalwareScanSettingsOutput

Returns the details of the malware scan settings.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

Parameters:

Name Type Description Default
input GetMalwareScanSettingsInput

An instance of GetMalwareScanSettingsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetMalwareScanSettingsOutput

An instance of GetMalwareScanSettingsOutput.

Input

GetMalwareScanSettingsInput dataclass

Dataclass for GetMalwareScanSettingsInput structure.

Attributes

detector_id class-attribute instance-attribute
detector_id: str | None = None

The unique ID of the detector that is associated with this scan.

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

Output

GetMalwareScanSettingsOutput dataclass

Dataclass for GetMalwareScanSettingsOutput structure.

Attributes

ebs_snapshot_preservation class-attribute instance-attribute
ebs_snapshot_preservation: EbsSnapshotPreservation | None = None

An enum value representing possible snapshot preservation settings.

scan_resource_criteria class-attribute instance-attribute
scan_resource_criteria: ScanResourceCriteria | None = None

Represents the criteria to be used in the filter for scanning resources.