Skip to content

Guardduty  >  Operations  >  update_malware_scan_settings

update_malware_scan_settings

Operation

update_malware_scan_settings async

update_malware_scan_settings(input: UpdateMalwareScanSettingsInput, plugins: list[Plugin] | None = None) -> UpdateMalwareScanSettingsOutput

Updates 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 UpdateMalwareScanSettingsInput

An instance of UpdateMalwareScanSettingsInput.

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
UpdateMalwareScanSettingsOutput

An instance of UpdateMalwareScanSettingsOutput.

Input

UpdateMalwareScanSettingsInput dataclass

Dataclass for UpdateMalwareScanSettingsInput structure.

Attributes

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

The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.

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

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 selecting resources to scan.

Output

UpdateMalwareScanSettingsOutput dataclass

Dataclass for UpdateMalwareScanSettingsOutput structure.