list_investigations
async
¶
list_investigations(
graph_arn: GraphArn,
*,
config_overrides: Optional[AsyncDetectiveClientConfig] = None,
next_token: Optional[AiPaginationToken] = None,
max_results: Optional[MaxResults] = None,
filter_criteria: Optional[FilterCriteria] = None,
sort_criteria: Optional[SortCriteria] = None,
) -> ListInvestigationsResponse
Detective investigations lets you investigate IAM users and IAM roles using indicators of compromise. An indicator of compromise (IOC) is an artifact observed in or on a network, system, or environment that can (with a high level of confidence) identify malicious activity or a security incident. ListInvestigations lists all active Detective investigations.
Parameters:
-
graph_arn(GraphArn) –The Amazon Resource Name (ARN) of the behavior graph.
-
next_token(Optional[AiPaginationToken], default:None) –Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
-
max_results(Optional[MaxResults], default:None) –Lists the maximum number of investigations in a page.
-
filter_criteria(Optional[FilterCriteria], default:None) –Filters the investigation results based on a criteria.
-
sort_criteria(Optional[SortCriteria], default:None) –Sorts the investigation results based on a criteria.
Raises:
-
AccessDeniedException–The request issuer does not have permission to access this resource or perform this operation.
-
InternalServerException–The request was valid but failed because of a problem with the service.
-
ResourceNotFoundException–The request refers to a nonexistent resource.
-
TooManyRequestsException–The request cannot be completed because too many other requests are occurring at the same time.
-
ValidationException–The request parameters are invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_detective/_services/async_detective.py
1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 | |