GuardDuty.Client.
get_malware_scan_settings
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.get_malware_scan_settings(
DetectorId='string'
)
[REQUIRED]
The unique ID of the detector that the scan setting is associated with.
{
'ScanResourceCriteria': {
'Include': {
'string': {
'MapEquals': [
{
'Key': 'string',
'Value': 'string'
},
]
}
},
'Exclude': {
'string': {
'MapEquals': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
},
'EbsSnapshotPreservation': 'NO_RETENTION'|'RETENTION_WITH_FINDING'
}
Response Structure
Represents the criteria to be used in the filter for scanning resources.
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.
An enum value representing possible snapshot preservation settings.
Exceptions
GuardDuty.Client.exceptions.BadRequestException
GuardDuty.Client.exceptions.InternalServerErrorException