get_findings_trends_v2
¶
get_findings_trends_v2(
*,
config_overrides: Optional[SecurityHubClientConfig] = None,
filters: Optional[FindingsTrendsFilters] = None,
start_time: Optional[Timestamp] = None,
end_time: Optional[Timestamp] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> GetFindingsTrendsV2Response
Returns findings trend data based on the specified criteria. This operation helps you analyze patterns and changes in findings over time.
Parameters:
-
filters(Optional[FindingsTrendsFilters], default:None) –The filters to apply to the findings trend data.
-
start_time(Optional[Timestamp], default:None) –The starting timestamp for the time period to analyze findings trends, in ISO 8601 format.
-
end_time(Optional[Timestamp], default:None) –The ending timestamp for the time period to analyze findings trends, in ISO 8601 format.
-
next_token(Optional[NextToken], default:None) –The token to use for paginating results. This value is returned in the response if more results are available.
-
max_results(Optional[MaxResults], default:None) –The maximum number of trend data points to return in a single response.
Raises:
-
AccessDeniedException–You don't have permission to perform the action specified in the request.
-
InternalServerException–The request has failed due to an internal failure of the service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation because it's missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityhub/_services/security_hub.py
4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 | |