list_investigations
async
¶
list_investigations(
detector_id: DetectorId,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
filter_criteria: Optional[InvestigationFilterCriteria] = None,
sort_criteria: Optional[InvestigationSortCriteria] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListInvestigationsResponse
This API is currently available as a preview. This feature is available in the following Amazon Web Services Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), and Asia Pacific (Tokyo).
Returns a list of investigations associated with the specified GuardDuty detector. You can filter the investigations by status, risk level, confidence, finding ID, and investigation type, and sort them by start time, end time, status, risk level, or confidence.
An administrator account sees all investigations across the organization. Member accounts see only the investigations that belong to them.
Parameters:
-
detector_id(DetectorId) –The unique ID of the GuardDuty detector whose investigations you want to list.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
filter_criteria(Optional[InvestigationFilterCriteria], default:None) –The criteria used to filter investigations. GuardDuty returns only the investigations that match all of the specified criteria.
-
sort_criteria(Optional[InvestigationSortCriteria], default:None) –Represents the criteria used for sorting investigations.
-
max_results(Optional[MaxResults], default:None) –You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50.
-
next_token(Optional[NextToken], 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.
Raises:
-
AccessDeniedException–An access denied exception object.
-
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
4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 | |