get_findings_trends_v2
async
¶
get_findings_trends_v2(
*,
config_overrides: Optional[AsyncSecurityHubClientConfig] = 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/async_security_hub.py
5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 | |