describe_malware_scans
¶
describe_malware_scans(
detector_id: DetectorId,
*,
config_overrides: Optional[GuardDutyClientConfig] = 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/guard_duty.py
2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 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 | |