list_coverage
¶
list_coverage(
detector_id: DetectorId,
*,
config_overrides: Optional[GuardDutyClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
filter_criteria: Optional[CoverageFilterCriteria] = None,
sort_criteria: Optional[CoverageSortCriteria] = None,
) -> ListCoverageResponse
Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.
Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources.
Parameters:
-
detector_id(DetectorId) –The unique ID of the detector whose coverage details you want to retrieve.
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) –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. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
filter_criteria(Optional[CoverageFilterCriteria], default:None) –Represents the criteria used to filter the coverage details.
-
sort_criteria(Optional[CoverageSortCriteria], default:None) –Represents the criteria used to sort the coverage details.
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
3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 | |