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
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 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 | |