get_findings
async
¶
get_findings(
detector_id: DetectorId,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
finding_ids: Optional[FindingIds] = None,
sort_criteria: Optional[SortCriteria] = None,
) -> GetFindingsResponse
Describes Amazon GuardDuty findings specified by finding IDs.
Parameters:
-
detector_id(DetectorId) –The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
finding_ids(Optional[FindingIds], default:None) –The IDs of the findings that you want to retrieve.
-
sort_criteria(Optional[SortCriteria], default:None) –Represents the criteria used for sorting findings.
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
2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 | |