list_findings
¶
list_findings(
*,
config_overrides: Optional[Inspector2ClientConfig] = None,
max_results: Optional[ListFindingsMaxResults] = None,
next_token: Optional[NextToken] = None,
filter_criteria: Optional[FilterCriteria] = None,
sort_criteria: Optional[SortCriteria] = None,
) -> ListFindingsResponse
Lists findings for your environment.
Parameters:
-
max_results(Optional[ListFindingsMaxResults], default:None) –The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextTokenvalue, use this value when you call the action again to get the remaining results. -
next_token(Optional[NextToken], default:None) –A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the
maxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page. -
filter_criteria(Optional[FilterCriteria], default:None) –Details on the filters to apply to your finding results.
-
sort_criteria(Optional[SortCriteria], default:None) –Details on the sort criteria to apply to your finding results.
Raises:
-
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_inspector2/_services/inspector2.py
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 | |