describe_malware_scans
async
¶
describe_malware_scans(
detector_id: DetectorId,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[IntegerValueWithMax] = None,
filter_criteria: Optional[FilterCriteria] = None,
sort_criteria: Optional[SortCriteria] = None,
) -> DescribeMalwareScansResponse
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:
-
detector_id(DetectorId) –The unique ID of the detector that the request is associated with.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
next_token(Optional[String], default: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.
-
max_results(Optional[IntegerValueWithMax], default: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.
-
filter_criteria(Optional[FilterCriteria], default:None) –Represents the criteria to be used in the filter for describing scan entries.
-
sort_criteria(Optional[SortCriteria], default:None) –Represents the criteria used for sorting scan entries. The
attributeNameis required and it must bescanStartTime.
Raises:
-
BadRequestException–A bad request exception object.
-
InternalServerErrorException–An internal server error exception object.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_guardduty/_services/async_guard_duty.py
2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 | |