Skip to content

Guardduty  >  Operations  >  describe_malware_scans

describe_malware_scans

Operation

describe_malware_scans async

describe_malware_scans(input: DescribeMalwareScansInput, plugins: list[Plugin] | None = None) -> DescribeMalwareScansOutput

Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An administrator can view the malware scans for all the member accounts.

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 DescribeMalwareScansInput

An instance of DescribeMalwareScansInput.

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
DescribeMalwareScansOutput

An instance of DescribeMalwareScansOutput.

Input

DescribeMalwareScansInput dataclass

Dataclass for DescribeMalwareScansInput structure.

Attributes

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

The unique ID of the detector that the request is associated with.

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

filter_criteria class-attribute instance-attribute
filter_criteria: FilterCriteria | None = None

Represents the criteria to be used in the filter for describing scan entries.

max_results class-attribute instance-attribute
max_results: int | None = None

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

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

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

sort_criteria class-attribute instance-attribute
sort_criteria: SortCriteria | None = None

Represents the criteria used for sorting scan entries. The attributeName is required and it must be scanStartTime.

Output

DescribeMalwareScansOutput dataclass

Dataclass for DescribeMalwareScansOutput structure.

Attributes

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

The pagination parameter to be used on the next list operation to retrieve more items.

scans class-attribute instance-attribute
scans: list[Scan] | None = None

Contains information about malware scans associated with GuardDuty Malware Protection for EC2.