GuardDuty.Client.
update_malware_scan_settings
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.update_malware_scan_settings(
DetectorId='string',
ScanResourceCriteria={
'Include': {
'string': {
'MapEquals': [
{
'Key': 'string',
'Value': 'string'
},
]
}
},
'Exclude': {
'string': {
'MapEquals': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
},
EbsSnapshotPreservation='NO_RETENTION'|'RETENTION_WITH_FINDING'
)
[REQUIRED]
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
Represents the criteria to be used in the filter for selecting resources to scan.
Represents condition that when matched will allow a malware scan for a certain resource.
An enum value representing possible resource properties to match with given scan condition.
Contains information about the condition.
Represents an mapEqual condition to be applied to a single field when triggering for malware scan.
Represents key, value pair to be matched against given resource property.
Represents key in the map condition.
Represents optional value in the map condition. If not specified, only key will be matched.
Represents condition that when matched will prevent a malware scan for a certain resource.
An enum value representing possible resource properties to match with given scan condition.
Contains information about the condition.
Represents an mapEqual condition to be applied to a single field when triggering for malware scan.
Represents key, value pair to be matched against given resource property.
Represents key in the map condition.
Represents optional value in the map condition. If not specified, only key will be matched.
dict
Response Syntax
{}
Response Structure
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException